mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-09 16:07:40 +00:00
Uses the proper list for xeno landmarks/nightmare spawning (#31470)
This commit is contained in:
committed by
CitadelStationBot
parent
6f2b89ae88
commit
e7800a2235
@@ -19,12 +19,11 @@
|
||||
player_mind.active = TRUE
|
||||
|
||||
var/list/spawn_locs = list()
|
||||
for(var/obj/effect/landmark/xeno_spawn/L in GLOB.landmarks_list)
|
||||
if(isturf(L.loc))
|
||||
var/turf/T = L.loc
|
||||
var/light_amount = T.get_lumcount()
|
||||
if(light_amount < SHADOW_SPECIES_LIGHT_THRESHOLD)
|
||||
spawn_locs += T
|
||||
for(var/X in GLOB.xeno_spawn)
|
||||
var/turf/T = X
|
||||
var/light_amount = T.get_lumcount()
|
||||
if(light_amount < SHADOW_SPECIES_LIGHT_THRESHOLD)
|
||||
spawn_locs += T
|
||||
|
||||
if(!spawn_locs.len)
|
||||
message_admins("No valid spawn locations found, aborting...")
|
||||
|
||||
Reference in New Issue
Block a user