Fix running standalone scripts in non-editor builds.

This commit is contained in:
Relintai 2024-01-02 13:56:15 +01:00
parent 562fe84f67
commit 8f7ee38377

View File

@ -607,7 +607,7 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
#ifndef TOOLS_ENABLED
} else if (I->get() == "-s" || I->get() == "--script") {
has_script = true;
main_args.push_back(I->get());
#endif
} else if (I->get() == "-v" || I->get() == "--verbose") { // verbose output