diff --git a/Mage.Client/sounds/OnYourGameStarted.wav b/Mage.Client/sounds/OnYourGameStarted.wav new file mode 100644 index 0000000000..68f12d95d7 Binary files /dev/null and b/Mage.Client/sounds/OnYourGameStarted.wav differ diff --git a/Mage.Client/src/main/java/mage/client/game/GamePanel.java b/Mage.Client/src/main/java/mage/client/game/GamePanel.java index d4448864ba..a1e677d648 100644 --- a/Mage.Client/src/main/java/mage/client/game/GamePanel.java +++ b/Mage.Client/src/main/java/mage/client/game/GamePanel.java @@ -377,6 +377,8 @@ public final class GamePanel extends javax.swing.JPanel { this.gameChatPanel.connect(session.getGameChatId(gameId)); if (!session.joinGame(gameId)) { removeGame(); + } else { + AudioManager.playYourGameStarted(); } } diff --git a/Mage.Client/src/main/java/mage/client/util/audio/AudioManager.java b/Mage.Client/src/main/java/mage/client/util/audio/AudioManager.java index db49897d34..e9e7aace90 100644 --- a/Mage.Client/src/main/java/mage/client/util/audio/AudioManager.java +++ b/Mage.Client/src/main/java/mage/client/util/audio/AudioManager.java @@ -43,6 +43,7 @@ public class AudioManager { private MageClip onCountdown1 = null; private MageClip onDraftSelect = null; + private MageClip yourGameStarted = null; private MageClip playerJoinedTable = null; private MageClip playerSubmittedDeck = null; private MageClip playerWhispered = null; @@ -237,6 +238,14 @@ public class AudioManager { checkAndPlayClip(getManager().playerJoinedTable); } + public static void playYourGameStarted() { + if (audioManager.yourGameStarted == null) { + audioManager.yourGameStarted = new MageClip(audioManager.loadClip(Constants.BASE_SOUND_PATH + "OnYourGameStarted.wav"), + AudioGroup.GameSounds); + } + checkAndPlayClip(getManager().yourGameStarted); + } + public static void playPlayerWhispered() { if (audioManager.playerWhispered == null) { audioManager.playerWhispered = new MageClip(audioManager.loadClip(Constants.BASE_SOUND_PATH + "OnPlayerWhispered.wav"),