diff objects/action.py @ 101:824f3068ef2a

Fixed Saving and Loading.
author KarstenBock@gmx.net
date Thu, 29 Sep 2011 18:09:56 +0200
parents a9cc5559ec2a
children c9afad46091b
line wrap: on
line diff
--- a/objects/action.py	Wed Sep 28 15:01:04 2011 +0200
+++ b/objects/action.py	Thu Sep 29 18:09:56 2011 +0200
@@ -382,6 +382,7 @@
         
     def execute(self):
         real_item = self.item.containable
+        self.item.fifeagent = None
         player = self.model.game_state.getObjectById("PlayerCharacter")
         self.model.moveObject(self.item.general.identifier, None)
         container.put_item(player.container, real_item)