Merge pull request #4996 from Heroman3003/safety-first

Fixes xenoarch spawning on station levels
This commit is contained in:
Novacat
2019-04-11 15:56:14 -04:00
committed by GitHub
6 changed files with 14 additions and 8 deletions

View File

@@ -31,7 +31,7 @@ SUBSYSTEM_DEF(xenoarch)
/datum/controller/subsystem/xenoarch/proc/SetupXenoarch()
for(var/turf/simulated/mineral/M in turfs)
if(!M.density)
if(!M.density || M.z in using_map.xenoarch_exempt_levels) //VOREStation Edit: exclude some Z-levels from xenoarch spawns
continue
if(isnull(M.geologic_data))