mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 04:22:39 +01:00
Refactors sound groups to use decls instead of a massive switch with dozens of global lists. (#9702)
This commit is contained in:
@@ -27,11 +27,11 @@
|
||||
if (location)
|
||||
var/obj/effect/visual/sparks/S = new(location, src, 0) //Trigger one on the tile it's on
|
||||
S.start()
|
||||
playsound(location, "sparks", 100, 1)
|
||||
playsound(location, /decl/sound_category/spark_sound, 100, 1)
|
||||
QUEUE_VISUAL(S) // Queue it.
|
||||
|
||||
while (total_sparks <= src.amount)
|
||||
playsound(location, "sparks", 100, 1)
|
||||
playsound(location, /decl/sound_category/spark_sound, 100, 1)
|
||||
var/direction = 0
|
||||
|
||||
if (LAZYLEN(src.spread))
|
||||
|
||||
Reference in New Issue
Block a user