From: Christian Heller Date: Tue, 8 Dec 2020 20:22:20 +0000 (+0100) Subject: Update FOV if dropping a hat (= creating a new Thing on map). X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/template?a=commitdiff_plain;h=534f93bc6b5d46e282401c9698430f660b149fd6;p=plomrogue2 Update FOV if dropping a hat (= creating a new Thing on map). --- diff --git a/plomrogue/tasks.py b/plomrogue/tasks.py index 446e0b1..ef5fc5c 100644 --- a/plomrogue/tasks.py +++ b/plomrogue/tasks.py @@ -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]: