Skip to content

Commit

Permalink
Fix running standalone scripts in non-editor builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
Relintai committed Jan 2, 2024
1 parent 562fe84 commit 8f7ee38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8f7ee38

Please sign in to comment.