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:
e1240d2
)
Fix empty portal/annotation lists counting as None, erronously triggering thing data...
author
Christian Heller
<c.heller@plomlompom.de>
Mon, 14 Dec 2020 21:00:32 +0000
(22:00 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Mon, 14 Dec 2020 21:00:32 +0000
(22:00 +0100)
plomrogue/game.py
patch
|
blob
|
history
diff --git
a/plomrogue/game.py
b/plomrogue/game.py
index 35a610881bed5fea0ce7081d2b6f92bdc2774150..9a9b235cd454a13187a6058b88cdc7fe513238ec 100755
(executable)
--- a/
plomrogue/game.py
+++ b/
plomrogue/game.py
@@
-252,9
+252,9
@@
class Game(GameBase):
player.prepare_multiprocessible_fov_stencil()
player_fovs += [player._fov]
player_ids_send_fov += [player.id_]
- if
not (player._seen_things
- and player._seen_annotation_positions
-
and
player._seen_portal_positions):
+ if
None in (player._seen_things,
+ player._seen_annotation_positions,
+
player._seen_portal_positions):
player_ids_send_other += [player.id_]
new_fovs = []
single_core_until = 16 # since multiprocess has its own overhead