mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 06:58:30 +01:00
Fix Temp check.
This commit is contained in:
committed by
Aronai Sieyes
parent
0ad89da9db
commit
3ff0557e43
@@ -817,7 +817,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.
|
||||
@@ -826,8 +826,8 @@
|
||||
//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))
|
||||
. |= C.get_cold_protection_flags()
|
||||
if(C.min_cold_protection_temperature && C.min_cold_protection_temperature <= temperature)
|
||||
. |= C.cold_protection
|
||||
|
||||
/mob/living/carbon/human/get_heat_protection(temperature) //Temperature is the temperature you're being exposed to.
|
||||
var/thermal_protection_flags = get_heat_protection_flags(temperature)
|
||||
|
||||
Reference in New Issue
Block a user