home · contact · privacy
Only re-process FOVs for players whose FOV radius is affected by change.
[plomrogue2] / plomrogue / commands.py
index 770fb2282d6a9f803bfe9210cda905340a041875..3a183b9f08f905062e83a902784c5bf2406c9e48 100644 (file)
@@ -82,7 +82,7 @@ def cmd_SET_TILE_CONTROL(game, yx, control_char, connection_id):
     map_control = game.get_map(big_yx, 'control')
     map_control[little_yx] = control_char
     game.changed = True
-    game.changed_fovs = True
+    game.record_fov_change((big_yx, little_yx))
 cmd_SET_TILE_CONTROL.argtypes = 'yx_tuple:nonneg char'
 
 def cmd_THING_PROTECTION(game, thing_id, protection_char, connection_id):