makes a bunch of lists that use typecacheof() static. doesnt find out why its overtiming at all but what the hell it helps (#60147)

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
This commit is contained in:
Kylerace
2021-07-12 14:08:46 -07:00
committed by GitHub
co-authored by Mothblocks
parent 2620fb85ed
commit 5d6e93510f
15 changed files with 70 additions and 75 deletions
+1 -1
View File
@@ -298,7 +298,7 @@ Used by the AI doomsday and the self-destruct nuke.
GLOBAL_LIST_EMPTY(the_station_areas)
/datum/controller/subsystem/mapping/proc/generate_station_area_list()
var/list/station_areas_blacklist = typecacheof(list(/area/space, /area/mine, /area/ruin, /area/asteroid/nearstation))
var/static/list/station_areas_blacklist = typecacheof(list(/area/space, /area/mine, /area/ruin, /area/asteroid/nearstation))
for(var/area/A in world)
if (is_type_in_typecache(A, station_areas_blacklist))
continue