mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-01-23 13:35:11 +03:00
fix practice quit crash
This commit is contained in:
parent
a0bbfa805d
commit
6185b5b48f
@ -2780,6 +2780,9 @@ void Audio_StartReset(u8 oldSpecId) {
|
|||||||
} else {
|
} else {
|
||||||
sAudioResetStatus = AUDIORESET_WAIT;
|
sAudioResetStatus = AUDIORESET_WAIT;
|
||||||
}
|
}
|
||||||
|
// LTODO: Workaround for the crash after quitting the Practice mode
|
||||||
|
sAudioResetStatus = AUDIORESET_WAIT;
|
||||||
|
|
||||||
AUDIOCMD_GLOBAL_UNMUTE(true);
|
AUDIOCMD_GLOBAL_UNMUTE(true);
|
||||||
Audio_ResetVoicesAndPlayers();
|
Audio_ResetVoicesAndPlayers();
|
||||||
Audio_ResetSfxChannelState();
|
Audio_ResetSfxChannelState();
|
||||||
|
Loading…
Reference in New Issue
Block a user