From 8ddd5402feb75f1bd7d18e05840b39c761f0ff1b Mon Sep 17 00:00:00 2001 From: Fermi <> Date: Mon, 14 Oct 2019 13:35:42 +0100 Subject: [PATCH] Mobcheck --- code/modules/surgery/organs/organ_internal.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/surgery/organs/organ_internal.dm b/code/modules/surgery/organs/organ_internal.dm index a32616c711..961f4ce9e0 100644 --- a/code/modules/surgery/organs/organ_internal.dm +++ b/code/modules/surgery/organs/organ_internal.dm @@ -110,13 +110,13 @@ var/datum/gas_mixture/enviro = T.return_air() local_temp = enviro.temperature - if(istype(loc, /mob/)) + else if(istype(loc, /mob/)) var/mob/M = loc var/turf/T = M.loc var/datum/gas_mixture/enviro = T.return_air() local_temp = enviro.temperature - else if(owner) + if(owner) //Don't interfere with bodies frozen by structures. if(istype(owner.loc, /obj/structure/closet/crate/freezer) || istype(owner.loc, /obj/structure/closet/secure_closet/freezer) || istype(owner.loc, /obj/structure/bodycontainer)) if(!(organ_flags & ORGAN_FROZEN))//Incase someone puts them in when cold, but they warm up inside of the thing. (i.e. they have the flag, the thing turns it off, this rights it.)