Emp Damage Hotfix (#22413)

Some of the prosthetics weren't ticking down EMP damage, which was
because they had overrides of Process() that weren't correctly passing
in the SPT value needed by the tick_surge_damage(seconds_per_tick) proc.
This commit is contained in:
VMSolidus
2026-05-06 11:07:13 +00:00
committed by GitHub
parent 4ca1964078
commit 57f346a965
3 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -167,7 +167,7 @@
take_damage(owner.chem_effects[toxin_type] * seconds_per_tick)
handle_regeneration(seconds_per_tick)
tick_surge_damage() //Yes, this is intentional.
tick_surge_damage(seconds_per_tick) //Yes, this is intentional.
/obj/item/organ/internal/proc/handle_regeneration(seconds_per_tick)
SHOULD_CALL_PARENT(TRUE)