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:
856b689
)
Fix faulty FOV handling of non-player Things.
author
Christian Heller
<c.heller@plomlompom.de>
Tue, 8 Dec 2020 20:56:48 +0000
(21:56 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Tue, 8 Dec 2020 20:56:48 +0000
(21:56 +0100)
plomrogue/game.py
patch
|
blob
|
history
diff --git
a/plomrogue/game.py
b/plomrogue/game.py
index 10fcb12b19f3c7f644d11eb8376368d99c15028c..1dc1e92cd2a29a0a28a72aa22a5d4365741fa95d 100755
(executable)
--- a/
plomrogue/game.py
+++ b/
plomrogue/game.py
@@
-328,7
+328,7
@@
class Game(GameBase):
if self.sessions[c_id]['thing_id'] == t.id_]:
self.io.send('PLAY_ERROR ' + quote(str(e)), connection_id)
if self.changed_fovs:
- for t in [t for t in self.things]:
+ for t in [t for t in self.things
if t.type_ == 'Player'
]:
t.invalidate_map_view()
if self.changed:
self.turn += 1