Browse Source

Allow skipping main.tscript execution

Lukas Aldershaab 2 years ago
parent
commit
569f3a1e41
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Engine/source/app/mainLoop.cpp

+ 4 - 0
Engine/source/app/mainLoop.cpp

@@ -468,6 +468,10 @@ bool StandardMainLoop::handleCommandLine( S32 argc, const char **argv )
 #endif
          mainCsStream = &str;
       }
+      else if (String::compare(argv[1], "SkipMainCs"))
+      {
+         return true;
+      }
    }
 
    if (useDefaultScript)