diff gamestate.py @ 44:98f26f7636d8

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 7a89ea5404b1
children d4f213b99d41
line wrap: on
line diff
--- a/gamestate.py	Tue Sep 06 15:21:36 2011 +0200
+++ b/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