mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 14:31:59 +01:00
Refactors sound groups to use decls instead of a massive switch with dozens of global lists. (#9702)
This commit is contained in:
@@ -267,7 +267,7 @@
|
||||
/obj/item/projectile/magic/teleport/on_hit(var/atom/hit_atom)
|
||||
var/turf/T = get_turf(hit_atom)
|
||||
single_spark(T)
|
||||
playsound(src.loc, "sparks", 50, 1)
|
||||
playsound(src.loc, /decl/sound_category/spark_sound, 50, 1)
|
||||
if(isliving(hit_atom))
|
||||
blink_mob(hit_atom)
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user