From a05bc2ca1119e70c79cf0a8512f1d2ed9a97a5a7 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Thu, 2 Nov 2017 00:21:49 +0100 Subject: [PATCH] fixed bug with playing level music in main menu when pressing music button --- src/game.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/game.c b/src/game.c index e5e128f8..76f34899 100644 --- a/src/game.c +++ b/src/game.c @@ -15787,7 +15787,8 @@ static void HandleGameButtonsExt(int id, int button) SetAudioMode(setup.sound); - PlayLevelMusic(); + if (game_status == GAME_MODE_PLAYING) + PlayLevelMusic(); } RedrawSoundButtonGadget(id); -- 2.34.1