mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 21:12:24 +01:00
Refactored fire_act (#19158)
Refactored fire_act() to be in line with TG version, removed useless parameter, added signal, made non sleepable and forced to call parent. Added atom_act.dm file for the various *_act procs.
This commit is contained in:
@@ -145,7 +145,9 @@
|
||||
if(H)
|
||||
H.apply_damage(Proj.damage, DAMAGE_PAIN)
|
||||
|
||||
/obj/item/poppet/fire_act()
|
||||
/obj/item/poppet/fire_act(exposed_temperature, exposed_volume)
|
||||
. = ..()
|
||||
|
||||
var/mob/living/carbon/human/H = target.resolve()
|
||||
if(H)
|
||||
H.adjust_fire_stacks(2)
|
||||
|
||||
Reference in New Issue
Block a user