From a130da854e07e8649ad2638cf6afd150df4a680a Mon Sep 17 00:00:00 2001 From: Atermonera Date: Tue, 19 May 2020 18:53:54 -0700 Subject: [PATCH] Fixes runtime in ravenous_macrophage.dm, line 26: Cannot read null.mind (#7196) --- code/modules/blob2/overmind/types/ravenous_macrophage.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/blob2/overmind/types/ravenous_macrophage.dm b/code/modules/blob2/overmind/types/ravenous_macrophage.dm index 0a73501c34e..b6b3b65a4f0 100644 --- a/code/modules/blob2/overmind/types/ravenous_macrophage.dm +++ b/code/modules/blob2/overmind/types/ravenous_macrophage.dm @@ -23,7 +23,7 @@ /datum/blob_type/ravenous_macrophage/on_pulse(var/obj/structure/blob/B) var/mob/living/L = locate() in range(world.view, B) - if(prob(1) && L.mind && !L.stat) // There's some active living thing nearby, produce offgas. + if(L && prob(1) && L.mind && !L.stat) // There's some active living thing nearby, produce offgas. var/turf/T = get_turf(B) var/datum/effect/effect/system/smoke_spread/noxious/BS = new /datum/effect/effect/system/smoke_spread/noxious BS.attach(T)