home
·
contact
·
privacy
projects
/
plomrogue2
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79c3230
)
Update FOV if dropping a hat (= creating a new Thing on map).
author
Christian Heller
<c.heller@plomlompom.de>
Tue, 8 Dec 2020 20:22:20 +0000
(21:22 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Tue, 8 Dec 2020 20:22:20 +0000
(21:22 +0100)
plomrogue/tasks.py
patch
|
blob
|
history
diff --git
a/plomrogue/tasks.py
b/plomrogue/tasks.py
index 446e0b186894dc3f306e293a0b8d313d44902f68..ef5fc5cda730be8c60d8b33f1c67252ddc4136ed 100644
(file)
--- 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]: