aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHein-Pieter van Braam2018-02-26 21:02:03 +0100
committerHein-Pieter van Braam2018-02-26 21:02:03 +0100
commit1ea805a4aa47eac9d4bcc672b02f210416e86fe7 (patch)
treecdf6af4ab7152e83046e01607557756ffd0feae4
parent3b96b3fd120c9b41b2374bb5beb08b73a78917d8 (diff)
downloadgodot-1ea805a4aa47eac9d4bcc672b02f210416e86fe7.tar.gz
godot-1ea805a4aa47eac9d4bcc672b02f210416e86fe7.tar.zst
godot-1ea805a4aa47eac9d4bcc672b02f210416e86fe7.zip
Add missing #endif for the main.cpp fix.
I forgot to amend my previous commit.
-rw-r--r--main/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp
index 662f0bf30..290ab7e65 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -778,6 +778,7 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
OS::get_singleton()->add_logger(memnew(RotatedFileLogger(base_path, max_files)));
}
+#ifdef TOOLS_ENABLED
if (editor) {
Engine::get_singleton()->set_editor_hint(true);
main_args.push_back("--editor");