home · contact · privacy
Update FOV if dropping a hat (= creating a new Thing on map).
authorChristian Heller <c.heller@plomlompom.de>
Tue, 8 Dec 2020 20:22:20 +0000 (21:22 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Tue, 8 Dec 2020 20:22:20 +0000 (21:22 +0100)
plomrogue/tasks.py

index 446e0b186894dc3f306e293a0b8d313d44902f68..ef5fc5cda730be8c60d8b33f1c67252ddc4136ed 100644 (file)
@@ -238,6 +238,7 @@ class Task_WEAR(Task):
             t.design = self.thing.game.hats[self.thing.name]
             del self.thing.game.hats[self.thing.name]
             self.thing.send_msg('CHAT "You drop your hat."')
+            self.game.changed_fovs = True  # thing addition
             for remixer in [t for t in self.thing.game.things
                             if t.type_ == 'HatRemixer'
                             and t.position == self.thing.position]: