Skip to content

Commit 0e2484f

Browse files
SirNightKnightnotghosti
authored andcommitted
fixes emitter beams causing the SM to play supermatter.ogg (dust sound) (Monkestation#4760)
Co-authored-by: SirNightKnight <=>
1 parent 4db3f92 commit 0e2484f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

code/modules/power/supermatter/supermatter_hit_procs.dm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
if(damage_to_be > danger_point)
3535
visible_message(span_notice("[src] compresses under stress, resisting further impacts!"))
3636

37-
playsound(src, 'sound/effects/supermatter.ogg', 50, TRUE)
37+
if(projectile.type != /obj/projectile/beam/emitter/hitscan) //monkestation edit
38+
playsound(src, 'sound/effects/supermatter.ogg', 50, TRUE)
3839
qdel(projectile)
3940
return COMPONENT_BULLET_BLOCKED
4041

0 commit comments

Comments
 (0)