mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-22 03:46:50 +01:00
Fix running standalone scripts in non-editor builds.
This commit is contained in:
parent
562fe84f67
commit
8f7ee38377
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user