home · contact · privacy
Add thing name editing.
[plomrogue2] / plomrogue / game.py
index 45e23e1a759e53d366b6a7894883d8772a4744ec..49fdeeb007e73364baa41af166a7c7bf39f35464 100755 (executable)
@@ -334,7 +334,7 @@ class Game(GameBase):
                 write(f, 'THING %s %s %s %s' % (t.position[0],
                                                 t.position[1], t.type_, t.id_))
                 if hasattr(t, 'name'):
-                    write(f, 'THING_NAME %s %s' % (t.id_, quote(t.name)))
+                    write(f, 'GOD_THING_NAME %s %s' % (t.id_, quote(t.name)))
             write(f, 'SPAWN_POINT %s %s' % (self.spawn_point[0],
                                             self.spawn_point[1]))