home · contact · privacy
Move re-positioning of things in inventory to Thing code.
[plomrogue2-experiments] / new / plomrogue / tasks.py
index ae559800f5f931769f6861cae5a652a8ffd6987b..330eff9b158e41357adbaa91bc207087af0d13c0 100644 (file)
@@ -52,9 +52,6 @@ class Task_MOVE(Task):
     def do(self):
         self.thing.position = (0,0), self.thing.world.maps[(0,0)].\
                                      move(self.thing.position[1], self.args[0])
-        for id_ in self.thing.inventory:
-            t = self.thing.world.get_thing(id_)
-            t.position = self.thing.position