From 534f93bc6b5d46e282401c9698430f660b149fd6 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Tue, 8 Dec 2020 21:22:20 +0100
Subject: [PATCH] Update FOV if dropping a hat (= creating a new Thing on map).

---
 plomrogue/tasks.py | 1 +
 1 file changed, 1 insertion(+)

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]:
-- 
2.30.2