Permit re-entering the Tutorial Challenge if the full game is accessible to you

This commit is contained in:
toaster 2023-11-29 18:51:52 +00:00
parent 050bf43a87
commit d41188ded3

View file

@ -4331,7 +4331,11 @@ void G_NextLevel(void)
if (
gametype == GT_TUTORIAL
&& nextmap == NEXTMAP_TUTORIALCHALLENGE
&& !(gamedata && gamedata->enteredtutorialchallenge)
&& (
!gamedata
|| gamedata->enteredtutorialchallenge == false
|| M_GameTrulyStarted() == true
)
)
{
nextmap = G_MapNumber(tutorialchallengemap);