From: Holger Schemel Date: Sun, 23 Feb 2025 16:47:18 +0000 (+0100) Subject: fixed saving setup for music and sound button changes X-Git-Tag: 4.4.0.5~12 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=3ccdb1937ab48308a66496197a0a157c4695922c;p=rocksndiamonds.git fixed saving setup for music and sound button changes --- diff --git a/src/game.c b/src/game.c index 94d114bd..36be17fc 100644 --- a/src/game.c +++ b/src/game.c @@ -17924,6 +17924,8 @@ static void HandleGameButtonsExt(int id, int button) RedrawSoundButtonGadget(id); + SaveSetupIfNeeded(); + break; case SOUND_CTRL_ID_LOOPS: @@ -17947,6 +17949,8 @@ static void HandleGameButtonsExt(int id, int button) RedrawSoundButtonGadget(id); + SaveSetupIfNeeded(); + break; case SOUND_CTRL_ID_SIMPLE: @@ -17970,6 +17974,8 @@ static void HandleGameButtonsExt(int id, int button) RedrawSoundButtonGadget(id); + SaveSetupIfNeeded(); + break; default: