M_EraseDataResponse: Don't softlock the Stereo on if you're likely no longer able to access it

This commit is contained in:
toaster 2023-04-03 21:14:12 +01:00
parent 2e687b4033
commit a85af6339d
2 changed files with 8 additions and 0 deletions

View file

@ -3003,6 +3003,10 @@ void readmaincfg(MYFILE *f, boolean mainfile)
G_ClearRecords();
M_ClearStats();
M_ClearSecrets();
// Don't softlock the Stereo on if you won't be able to access it anymore!?
if (soundtest.playing && M_SecretUnlocked(SECRET_SOUNDTEST, true) == false)
S_SoundTestStop();
}
#ifndef DEVELOP
else if (!mainfile && !gamedataadded)

View file

@ -69,6 +69,10 @@ static void M_EraseDataResponse(INT32 ch)
M_UpdateUnlockablesAndExtraEmblems(false, true);
// Don't softlock the Stereo on if you won't be able to access it anymore!?
if (soundtest.playing && M_SecretUnlocked(SECRET_SOUNDTEST, true) == false)
S_SoundTestStop();
F_StartIntro();
M_ClearMenus(true);
}