mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 04:51:42 +00:00
M_LevelListFromGametype: Auto-select the first Tutorial Mode course if there's only one available
This commit is contained in:
parent
d41188ded3
commit
ada8b362f1
1 changed files with 9 additions and 2 deletions
|
|
@ -568,10 +568,17 @@ boolean M_LevelListFromGametype(INT16 gt)
|
||||||
levellist.y = levellist.dest;
|
levellist.y = levellist.dest;
|
||||||
|
|
||||||
if (gt != -1)
|
if (gt != -1)
|
||||||
|
{
|
||||||
|
if (levellist.levelsearch.tutorial && levellist.mapcount == 1)
|
||||||
|
{
|
||||||
|
M_LevelSelected(0); // Skip the list!
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
PLAY_LevelSelectDef.prevMenu = currentMenu;
|
PLAY_LevelSelectDef.prevMenu = currentMenu;
|
||||||
M_SetupNextMenu(&PLAY_LevelSelectDef, false);
|
M_SetupNextMenu(&PLAY_LevelSelectDef, false);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue