mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Permit entering the tutorial challenge multiple times per savedata
This commit is contained in:
parent
2b46d49a3c
commit
a9ac7e64c6
2 changed files with 0 additions and 13 deletions
|
|
@ -1928,14 +1928,6 @@ bool CallFunc_CheckTutorialChallenge(ACSVM::Thread *thread, const ACSVM::Word *a
|
||||||
thread->dataStk.push(~env->getString( "Failed" )->idx);
|
thread->dataStk.push(~env->getString( "Failed" )->idx);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (gamedata != nullptr
|
|
||||||
&& gamedata->enteredtutorialchallenge == true
|
|
||||||
&& M_GameTrulyStarted() == false)
|
|
||||||
{
|
|
||||||
thread->dataStk.push(~env->getString( "Locked" )->idx);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
thread->dataStk.push(0);
|
thread->dataStk.push(0);
|
||||||
|
|
|
||||||
|
|
@ -4137,11 +4137,6 @@ void G_GetNextMap(void)
|
||||||
netgame == false
|
netgame == false
|
||||||
&& gametype == GT_TUTORIAL
|
&& gametype == GT_TUTORIAL
|
||||||
&& nextmap == NEXTMAP_TUTORIALCHALLENGE
|
&& nextmap == NEXTMAP_TUTORIALCHALLENGE
|
||||||
&& (
|
|
||||||
!gamedata
|
|
||||||
|| gamedata->enteredtutorialchallenge == false
|
|
||||||
|| M_GameTrulyStarted() == true
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
nextmap = G_MapNumber(tutorialchallengemap);
|
nextmap = G_MapNumber(tutorialchallengemap);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue