mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
G_DoCompleted: Call S_StopSounds earlier so legitimate exit condition sound isn't insta-wiped
This commit is contained in:
parent
276b19e871
commit
5b48c52b65
1 changed files with 3 additions and 2 deletions
|
|
@ -4143,6 +4143,9 @@ static void G_DoCompleted(void)
|
|||
if (modeattacking && pausedelay)
|
||||
pausedelay = 0;
|
||||
|
||||
// We do this here so Challenges-related sounds aren't insta-killed
|
||||
S_StopSounds();
|
||||
|
||||
if (legitimateexit && !demo.playback && !mapreset) // (yes you're allowed to unlock stuff this way when the game is modified)
|
||||
{
|
||||
UINT8 roundtype = GDGT_CUSTOM;
|
||||
|
|
@ -4221,8 +4224,6 @@ static void G_DoCompleted(void)
|
|||
if (automapactive)
|
||||
AM_Stop();
|
||||
|
||||
S_StopSounds();
|
||||
|
||||
prevmap = (INT16)(gamemap-1);
|
||||
|
||||
if (!demo.playback)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue