diff src/parpg/objects/action.py @ 131:0ffebdca7ba3

Fixed Saving and Loading.
author KarstenBock@gmx.net
date Thu, 29 Sep 2011 18:09:56 +0200
parents 9b5498e3bda0
children c938a828a38a
line wrap: on
line diff
--- a/src/parpg/objects/action.py	Wed Sep 28 15:01:04 2011 +0200
+++ b/src/parpg/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)