mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-29 08:15:44 +00:00
correct the %dedicated var in function parseArgs()
-it's supposed to be a global like the rest. also by request, added a help.txt file dump to the -help cli arg
This commit is contained in:
parent
8993052a14
commit
8a71a6141f
3 changed files with 23 additions and 17 deletions
|
|
@ -44,7 +44,7 @@ if(isFunction("loadStartup"))
|
|||
else
|
||||
{
|
||||
//If nothing else set a main menu, try to do so now
|
||||
if(!isObject(Canvas.getContent()))
|
||||
if(isObject(Canvas) || !isObject(Canvas.getContent()))
|
||||
{
|
||||
if (isObject( ProjectSettings.value("UI/mainMenuName") ))
|
||||
Canvas.setContent( ProjectSettings.value("UI/mainMenuName") );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue