From 1ea805a4aa47eac9d4bcc672b02f210416e86fe7 Mon Sep 17 00:00:00 2001 From: Hein-Pieter van Braam Date: Mon, 26 Feb 2018 21:02:03 +0100 Subject: [PATCH] Add missing #endif for the main.cpp fix. I forgot to amend my previous commit. --- main/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/main/main.cpp b/main/main.cpp index 662f0bf303c..290ab7e65df 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");