mirror of
https://github.com/quotefox/Hyper-Station-13.git
synced 2026-07-20 20:22:24 +01:00
Boom.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user