Permit entering the tutorial challenge multiple times per savedata

This commit is contained in:
toaster 2024-04-26 14:59:48 +01:00
parent 2b46d49a3c
commit a9ac7e64c6
2 changed files with 0 additions and 13 deletions

View file

@ -1928,14 +1928,6 @@ bool CallFunc_CheckTutorialChallenge(ACSVM::Thread *thread, const ACSVM::Word *a
thread->dataStk.push(~env->getString( "Failed" )->idx);
return false;
}
if (gamedata != nullptr
&& gamedata->enteredtutorialchallenge == true
&& M_GameTrulyStarted() == false)
{
thread->dataStk.push(~env->getString( "Locked" )->idx);
return false;
}
}
thread->dataStk.push(0);

View file

@ -4137,11 +4137,6 @@ void G_GetNextMap(void)
netgame == false
&& gametype == GT_TUTORIAL
&& nextmap == NEXTMAP_TUTORIALCHALLENGE
&& (
!gamedata
|| gamedata->enteredtutorialchallenge == false
|| M_GameTrulyStarted() == true
)
)
{
nextmap = G_MapNumber(tutorialchallengemap);