From e9188b469ca75643cea9dbfd49e7400d060ca06a Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Mon, 14 Dec 2020 22:00:32 +0100
Subject: [PATCH] Fix empty portal/annotation lists counting as None,
 erronously triggering thing data send.

---
 plomrogue/game.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/plomrogue/game.py b/plomrogue/game.py
index 35a6108..9a9b235 100755
--- 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
-- 
2.30.2