Update living.dm

This commit is contained in:
MoreRobustThanYou
2017-09-19 06:40:41 -04:00
committed by GitHub
parent 529bb908f7
commit 43797249fc
+1 -3
View File
@@ -706,9 +706,7 @@
floating = 0 // If we were without gravity, the bouncing animation got stopped, so we make sure to restart it in next life().
/mob/living/proc/get_temperature(datum/gas_mixture/environment)
var/loc_temp = T0C
if(environment)
loc_temp = environment.temperature
var/loc_temp = environment ? environment.temp : TC0
if(isobj(loc))
var/obj/oloc = loc
var/obj_temp = oloc.return_temperature()