Makes suit coolers work right in mecha

2 year old typo

Fixes #1924
This commit is contained in:
Arokha Sieyes
2016-06-11 23:30:41 -04:00
parent 78e63a00a4
commit 22e2352925

View File

@@ -66,7 +66,7 @@
if (ishuman(loc))
var/mob/living/carbon/human/H = loc
if(istype(H.loc, /obj/mecha))
var/obj/mecha/M = loc
var/obj/mecha/M = H.loc
return M.return_temperature()
else if(istype(H.loc, /obj/machinery/atmospherics/unary/cryo_cell))
return H.loc:air_contents.temperature