G_DoCompleted: Set legitimateexit *after* it's been used, not before

Was preventing successful tutorial challenge completion from registering, even under the old extremely hard rules
This commit is contained in:
toaster 2024-02-26 20:07:29 +00:00
parent 1c6659ed11
commit 7af6fd4911

View file

@ -4377,8 +4377,6 @@ static void G_DoCompleted(void)
// Then, update some important game state.
{
legitimateexit = false;
if (modeattacking && pausedelay)
pausedelay = 0;
@ -4450,6 +4448,9 @@ static void G_DoCompleted(void)
tutorialchallenge = TUTORIALSKIP_NONE;
}
// This can now be set.
legitimateexit = false;
if (!demo.playback)
{
// Set up power level gametype scrambles