Merge pull request #127 from shellspeed1/Fixes-heat-icons-swapped

Fixes heat icons swapped
This commit is contained in:
quotefox
2020-01-03 23:05:28 +00:00
committed by GitHub

View File

@@ -1859,7 +1859,7 @@ GLOBAL_LIST_EMPTY(roundstart_races)
H.adjust_bodytemperature((thermal_protection+1)*natural + min(thermal_protection * (loc_temp - H.bodytemperature) / BODYTEMP_HEAT_DIVISOR, BODYTEMP_HEATING_MAX))
else //we're sweating, insulation hinders out ability to reduce heat - but will reduce the amount of heat we get from the environment
H.adjust_bodytemperature(natural*(1/(thermal_protection+1)) + min(thermal_protection * (loc_temp - H.bodytemperature) / BODYTEMP_HEAT_DIVISOR, BODYTEMP_HEATING_MAX))
switch((loc_temp - H.bodytemperature)*thermal_protection)
switch((loc_temp - BODYTEMP_NORMAL)*thermal_protection)
if(-INFINITY to -50)
H.throw_alert("temp", /obj/screen/alert/cold, 3)
if(-50 to -35)