Skip to content

Commit

Permalink
Update explosion.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
dwasint committed Nov 5, 2023
1 parent 04b844c commit 6987747
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 6987747

Please sign in to comment.