mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
Merge pull request #10567 from mwerezak/fire-cooling-fix
Fixes carbon fire_act()
This commit is contained in:
@@ -372,8 +372,8 @@
|
|||||||
|
|
||||||
/mob/living/carbon/fire_act(datum/gas_mixture/air, exposed_temperature, exposed_volume)
|
/mob/living/carbon/fire_act(datum/gas_mixture/air, exposed_temperature, exposed_volume)
|
||||||
..()
|
..()
|
||||||
var/temp_inc = max(BODYTEMP_HEATING_MAX*(1-get_heat_protection()), 0)
|
var/temp_inc = max(min(BODYTEMP_HEATING_MAX*(1-get_heat_protection()), exposed_temperature - bodytemperature), 0)
|
||||||
bodytemperature = min(bodytemperature + temp_inc, exposed_temperature)
|
bodytemperature += temp_inc
|
||||||
|
|
||||||
/mob/living/carbon/can_use_hands()
|
/mob/living/carbon/can_use_hands()
|
||||||
if(handcuffed)
|
if(handcuffed)
|
||||||
|
|||||||
Reference in New Issue
Block a user