home · contact · privacy
Only re-process FOVs for players whose FOV radius is affected by change.
[plomrogue2] / plomrogue / things.py
index e1a9bd3a2d18b0d8b1b64943b6f055dfd11508e6..18cdf4c78069e9273e411c38223f4baae080a38f 100644 (file)
@@ -351,7 +351,7 @@ class ThingAnimate(Thing):
                     # TODO: refactor with self.send_msg
                     self.game.io.send('DEFAULT_COLORS', c_id)
                     self.game.io.send('CHAT "You sober up."', c_id)
-                    self.game.changed_fovs = True
+                    self.invalidate_map_view()
                     break
             self.game.changed = True
         if self.task is None: