This commit is contained in:
Archie
2022-09-13 15:50:17 -03:00
parent 802cdd66c9
commit 6bfb5f2781
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ GLOBAL_LIST_INIT(basic_blacklisted_area_list, typecacheof(list(
// Performance intensive check for picking an area with turfs that are considered the safest possible to spawn something in.
//Only use this for creatures, as it considers people around, temperature, area size and more.
/proc/get_safest_possible_turfs(list/blacklisted_areas, spawncount)
/proc/get_safest_spawn_turfs(list/blacklisted_areas, spawncount)
var/list/area/stationAreas = list()
var/list/area/eligible_areas = list()
var/validFound = FALSE
+1 -1
View File
@@ -333,7 +333,7 @@
priority_announce("Unidentified lifesigns detected aboard [station_name()]. Secure any exterior access, including ducting and ventilation.", "Lifesign Alert", 'sound/ai/aliens.ogg')
/datum/round_event/mimic_infestation/start()
var/list/turf/validTurfs = get_safest_possible_turfs(GLOB.basic_blacklisted_area_list, spawncount)
var/list/turf/validTurfs = get_safest_spawn_turfs(GLOB.basic_blacklisted_area_list, spawncount)
if(!validTurfs.len)
message_admins("No eligible areas for spawning mimics.")
return WAITING_FOR_SOMETHING