home · contact · privacy
Fix faulty uncarry.
authorChristian Heller <c.heller@plomlompom.de>
Sun, 13 Dec 2020 04:31:22 +0000 (05:31 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Sun, 13 Dec 2020 04:31:22 +0000 (05:31 +0100)
plomrogue/tasks.py

index 4a6df1641202d75ca66f7f1a057d779774f155f9..537663469392a019d05c5af6ff4ac9571c2b1610 100644 (file)
@@ -285,7 +285,7 @@ class Task_WEAR(Task):
                 self.thing.game.hats[self.thing.name] =\
                     self.thing.carrying.design
                 self.thing.send_msg('CHAT "You put on a hat."')
-            dropped = self.uncarry()
+            dropped = self.thing.uncarry()
             self.thing.game.remove_thing(dropped)
         # FIXME: pseudo-FOV-change actually
         self.thing.game.record_fov_change(self.thing.position)