From 860b2e53341869e0b3eea5679234506ca49afd3b Mon Sep 17 00:00:00 2001 From: GDN <96800819+GDNgit@users.noreply.github.com> Date: Sun, 15 Jan 2023 17:04:39 -0600 Subject: [PATCH] fixes a nar-sie runtime (#20203) --- code/modules/power/singularity/narsie.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/power/singularity/narsie.dm b/code/modules/power/singularity/narsie.dm index a80bca459db..081cf0f6b79 100644 --- a/code/modules/power/singularity/narsie.dm +++ b/code/modules/power/singularity/narsie.dm @@ -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