From 499cdf12fde3cd1f4b0ea36cdc5bea7674c492d9 Mon Sep 17 00:00:00 2001 From: Wisemonster <87689371+Wisemonster@users.noreply.github.com> Date: Fri, 28 Jul 2023 06:23:39 -0400 Subject: [PATCH] Update code/mob/living/life/Life.dm Co-authored-by: TobleroneSwordfish <20713227+TobleroneSwordfish@users.noreply.github.com> --- code/mob/living/life/Life.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/mob/living/life/Life.dm b/code/mob/living/life/Life.dm index 4f47fc3308e47..ecdbdefd62df5 100644 --- a/code/mob/living/life/Life.dm +++ b/code/mob/living/life/Life.dm @@ -277,7 +277,7 @@ //Interdictor's protections for mobs if (isliving(src) && !isintangible(src)) for_by_tcl(IX, /obj/machinery/interdictor) - var/area/A = src.loc.loc + var/area/area = get_area(src) if (IX.expend_interdict(6,src,TRUE)) //This protects mobs from radstorms/wormholes/magnetic biofields src.changeStatus("spatial_protection", 3 SECONDS) if ((src.loc && isarea(A)) && A.irradiated)