From 569f3a1e416934b08869312611fc47fda5b71f62 Mon Sep 17 00:00:00 2001 From: Lukas Aldershaab Date: Wed, 27 Sep 2023 20:40:14 +0200 Subject: [PATCH] Allow skipping main.tscript execution --- Engine/source/app/mainLoop.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Engine/source/app/mainLoop.cpp b/Engine/source/app/mainLoop.cpp index 9bbc3227f..b52164ea8 100644 --- a/Engine/source/app/mainLoop.cpp +++ b/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)