mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
fixes a nar-sie runtime (#20203)
This commit is contained in:
@@ -122,6 +122,8 @@
|
||||
var/list/noncultists = list()
|
||||
for(var/mob/living/carbon/food in GLOB.alive_mob_list) //we don't care about constructs or cult-Ians or whatever. cult-monkeys are fair game i guess
|
||||
var/turf/pos = get_turf(food)
|
||||
if(!pos) // The GLOB mob list (alive or dead) can contain null entries, so we gotta check if we're trying to get the turf of something that doesn't exist
|
||||
return
|
||||
if(pos.z != src.z)
|
||||
continue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user