Optimizations

This commit is contained in:
alexkar598
2019-10-23 20:06:20 -04:00
committed by GitHub
parent 26126d4aca
commit a0cea05c95

View File

@@ -428,9 +428,7 @@
alert_type = /obj/screen/alert/status_effect/fleshmend
/datum/status_effect/fleshmend/tick()
var/protecc = owner.get_thermal_protection()
if(owner.on_fire && (thermal_protection < FIRE_IMMUNITY_MAX_TEMP_PROTECT))
if(owner.on_fire && (owner.get_thermal_protection() < FIRE_IMMUNITY_MAX_TEMP_PROTECT))
linked_alert.icon_state = "fleshmend_fire"
return
else