From: Christian Heller Date: Sun, 13 Dec 2020 04:31:22 +0000 (+0100) Subject: Fix faulty uncarry. X-Git-Url: https://plomlompom.com/repos/todos?a=commitdiff_plain;h=863a58b52579fa96deb41a633b10f79df0b18eaa;p=plomrogue2 Fix faulty uncarry. --- diff --git a/plomrogue/tasks.py b/plomrogue/tasks.py index 4a6df16..5376634 100644 --- a/plomrogue/tasks.py +++ b/plomrogue/tasks.py @@ -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)