mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Optimizations
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user