Merge branch 'tutorial-challenge-fix' into 'master'

Tutorial Challenge fixes (resolves #1072)

Closes #1072

See merge request KartKrew/Kart!1955
This commit is contained in:
SteelT 2024-02-27 01:56:33 +00:00
commit 1c63f98d61
2 changed files with 3 additions and 5 deletions

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

View file

@ -398,9 +398,6 @@ boolean K_IsPlayerLosing(player_t *player)
if (specialstageinfo.valid == true)
return false; // anything short of DNF is COOL
if (tutorialchallenge == TUTORIALSKIP_INPROGRESS)
return true; // anything short of perfect is SUCK
for (i = 0; i < MAXPLAYERS; i++)
{
if (!playeringame[i] || players[i].spectator)