diff src/parpg/gamestate.py @ 69:ad75fa042b99

Changes to make PARPG "runable" with grease. (With the correct modified assets)
author KarstenBock@gmx.net
date Tue, 06 Sep 2011 15:22:51 +0200
parents 1fd2201f5c36
children cd12294d1981
line wrap: on
line diff
--- a/src/parpg/gamestate.py	Tue Sep 06 15:21:36 2011 +0200
+++ b/src/parpg/gamestate.py	Tue Sep 06 15:22:51 2011 +0200
@@ -36,7 +36,7 @@
         @type object: GameObject
         @type map_id: str or None
         """
-        object_id = game_object.ID
+        object_id = game_object.fifeagent.identifier
         if not self.object_ids.has_key(object_id):
             if map_id:
                 self.objects[map_id][object_id] = game_object