From bc55e43defa795a44ebc822c54882ab253e8a5f5 Mon Sep 17 00:00:00 2001 From: Anuken Date: Wed, 25 Nov 2020 11:15:46 -0500 Subject: [PATCH] Fixed #3591 --- core/src/mindustry/entities/comp/WeaponsComp.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/src/mindustry/entities/comp/WeaponsComp.java b/core/src/mindustry/entities/comp/WeaponsComp.java index b919f6fee1..21265731fc 100644 --- a/core/src/mindustry/entities/comp/WeaponsComp.java +++ b/core/src/mindustry/entities/comp/WeaponsComp.java @@ -91,6 +91,10 @@ abstract class WeaponsComp implements Teamc, Posc, Rotc, Velc, Statusc{ mount.bullet.time = mount.bullet.lifetime - 10f; mount.bullet = null; } + + if(mount.sound != null){ + mount.sound.stop(); + } } }