mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-15 01:54:52 +01:00
FIXES NEW TEMP SYSTEM
WOOPS.
This commit is contained in:
committed by
GitHub
parent
96718e9648
commit
529bb908f7
@@ -707,6 +707,8 @@
|
||||
|
||||
/mob/living/proc/get_temperature(datum/gas_mixture/environment)
|
||||
var/loc_temp = T0C
|
||||
if(environment)
|
||||
loc_temp = environment.temperature
|
||||
if(isobj(loc))
|
||||
var/obj/oloc = loc
|
||||
var/obj_temp = oloc.return_temperature()
|
||||
@@ -715,8 +717,6 @@
|
||||
else if(isspaceturf(get_turf(src)))
|
||||
var/turf/heat_turf = get_turf(src)
|
||||
loc_temp = heat_turf.temperature
|
||||
else
|
||||
loc_temp = environment.temperature
|
||||
return loc_temp
|
||||
|
||||
/mob/living/proc/get_standard_pixel_x_offset(lying = 0)
|
||||
|
||||
Reference in New Issue
Block a user