mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Init MUSICDEFs if started game with music off and toggled on
This commit is contained in:
parent
d46bd4e8f1
commit
38cee58bf8
1 changed files with 2 additions and 0 deletions
|
|
@ -2543,6 +2543,7 @@ void GameDigiMusic_OnChange(void)
|
|||
I_StartupSound(); // will return early if initialised
|
||||
I_InitMusic();
|
||||
S_StopMusic();
|
||||
S_InitMusicDefs();
|
||||
if (Playing())
|
||||
P_RestoreMusic(&players[consoleplayer]);
|
||||
else
|
||||
|
|
@ -2585,6 +2586,7 @@ void GameMIDIMusic_OnChange(void)
|
|||
midi_disabled = false;
|
||||
I_StartupSound(); // will return early if initialised
|
||||
I_InitMusic();
|
||||
S_InitMusicDefs();
|
||||
if (Playing())
|
||||
P_RestoreMusic(&players[consoleplayer]);
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue