mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +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
|
|
@ -569,8 +569,15 @@ boolean M_LevelListFromGametype(INT16 gt)
|
|||
|
||||
if (gt != -1)
|
||||
{
|
||||
PLAY_LevelSelectDef.prevMenu = currentMenu;
|
||||
M_SetupNextMenu(&PLAY_LevelSelectDef, false);
|
||||
if (levellist.levelsearch.tutorial && levellist.mapcount == 1)
|
||||
{
|
||||
M_LevelSelected(0); // Skip the list!
|
||||
}
|
||||
else
|
||||
{
|
||||
PLAY_LevelSelectDef.prevMenu = currentMenu;
|
||||
M_SetupNextMenu(&PLAY_LevelSelectDef, false);
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue