diff --git a/Client/src/main/java/github/lual/util/SoundPlayer.java b/Client/src/main/java/github/lual/util/SoundPlayer.java index 83cd5fe..22f9661 100644 --- a/Client/src/main/java/github/lual/util/SoundPlayer.java +++ b/Client/src/main/java/github/lual/util/SoundPlayer.java @@ -26,6 +26,7 @@ public SoundPlayer(String resource, double volume) { } public void playOnce() { + mediaPlayer.stop(); mediaPlayer.play(); } }