Merge pull request #7069 from Mechoid/FixTemp

Fix Temp check.
This commit is contained in:
Atermonera
2020-05-02 13:29:48 -07:00
committed by GitHub

View File

@@ -809,7 +809,7 @@
//Handle normal clothing
for(var/obj/item/clothing/C in list(head,wear_suit,w_uniform,shoes,gloves,wear_mask))
if(C)
if(C.handle_low_temperature(temperature))
if(C.handle_high_temperature(temperature))
. |= C.get_heat_protection_flags()
//See proc/get_heat_protection_flags(temperature) for the description of this proc.
@@ -818,7 +818,7 @@
//Handle normal clothing
for(var/obj/item/clothing/C in list(head,wear_suit,w_uniform,shoes,gloves,wear_mask))
if(C)
if(C.handle_high_temperature(temperature))
if(C.handle_low_temperature(temperature))
. |= C.get_cold_protection_flags()
/mob/living/carbon/human/get_heat_protection(temperature) //Temperature is the temperature you're being exposed to.