From 6987747856c346c6bc5ab9879e21f32d7a2af799 Mon Sep 17 00:00:00 2001 From: dwasint <82520990+dwasint@users.noreply.github.com> Date: Sat, 4 Nov 2023 20:23:11 -0400 Subject: [PATCH] Update explosion.dm --- .../code/modules/art_sci_overrides/faults/explosion.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/monkestation/code/modules/art_sci_overrides/faults/explosion.dm b/monkestation/code/modules/art_sci_overrides/faults/explosion.dm index 7a6eee23e75b..70c754644ed1 100644 --- a/monkestation/code/modules/art_sci_overrides/faults/explosion.dm +++ b/monkestation/code/modules/art_sci_overrides/faults/explosion.dm @@ -5,10 +5,10 @@ /datum/artifact_fault/explosion/on_trigger(datum/component/artifact/component) - holder.Shake(duration = 5 SECONDS, shake_interval = 0.08 SECONDS) - addtimer(CALLBACK(src, PROC_REF(payload)), 5 SECONDS) + component.holder.Shake(duration = 5 SECONDS, shake_interval = 0.08 SECONDS) + addtimer(CALLBACK(src, PROC_REF(payload), component), 5 SECONDS) -/datum/artifact_fault/explosion/proc/payload() +/datum/artifact_fault/explosion/proc/payload(datum/component/artifact/component) explosion(component.holder, light_impact_range = 2, explosion_cause = src) qdel(component.holder)