mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
Update living.dm
This commit is contained in:
committed by
GitHub
parent
529bb908f7
commit
43797249fc
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user