fdkgsekgdqsgf
This commit is contained in:
1 parent
06afba4d34
commit
fa9d517227
6 files changed
+577
-33
No files matched your search
@@ -2009,6 +2009,12 @@ void UIScene_MainMenu::LoadTrial(void)
|
||||
param->settings = app.GetGameHostOption( eGameHostOption_Tutorial ) | app.GetGameHostOption(eGameHostOption_DisableSaving);
|
||||
|
||||
vector<LevelGenerationOptions *> *generators = app.getLevelGenerators();
|
||||
if (generators->empty())
|
||||
{
|
||||
app.DebugPrintf("LoadTrial: no level generators available, cannot start tutorial\n");
|
||||
delete param;
|
||||
return;
|
||||
}
|
||||
param->levelGen = generators->at(0);
|
||||
|
||||
LoadingInputParams *loadingParams = new LoadingInputParams();
|
||||
|
||||
Reference in new issue
Block a user