updates documentation for how the oranges_ear mob optimization works (#67056)

fixes documentation for how the oranges_ear mob optimization works
This commit is contained in:
Kylerace
2022-05-18 12:13:59 -04:00
committed by GitHub
parent 00ba7ee7b6
commit affbd54d5c
2 changed files with 13 additions and 10 deletions
@@ -86,7 +86,7 @@ SUBSYSTEM_DEF(spatial_grid)
var/list/grids_by_z_level = list()
///everything that spawns before us is added to this list until we initialize
var/list/waiting_to_add_by_type = list(SPATIAL_GRID_CONTENTS_TYPE_HEARING = list(), SPATIAL_GRID_CONTENTS_TYPE_CLIENTS = list(), SPATIAL_GRID_CONTENTS_TYPE_ATMOS = list())
///associative list of the form: movable.spatial_grid_key (string) -> inner list of spatial grid types for that key.
///associative list of the form: movable.spatial_grid_key (string) -> inner list of spatial grid types for that key.
///inner lists contain contents channel types such as SPATIAL_GRID_CONTENTS_TYPE_HEARING etc.
///we use this to make adding to a cell static cost, and to save on memory
var/list/spatial_grid_categories = list()