mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-25 14:00:18 +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:
@@ -57,6 +57,8 @@
|
||||
if(!active)
|
||||
prime()
|
||||
|
||||
/obj/item/grenade/dynamite/fire_act()
|
||||
/obj/item/grenade/dynamite/fire_act(exposed_temperature, exposed_volume)
|
||||
. = ..()
|
||||
|
||||
if(!active)
|
||||
prime()
|
||||
|
||||
@@ -944,7 +944,9 @@
|
||||
to_chat(user, SPAN_WARNING("The cell isn't charged!"))
|
||||
return TRUE
|
||||
|
||||
/obj/item/steelwool/fire_act()
|
||||
/obj/item/steelwool/fire_act(exposed_temperature, exposed_volume)
|
||||
. = ..()
|
||||
|
||||
ignite()
|
||||
|
||||
/obj/item/steelwool/proc/ignite(var/L, mob/user)
|
||||
|
||||
Reference in New Issue
Block a user