Add missing #endif for the main.cpp fix.

I forgot to amend my previous commit.
This commit is contained in:
Hein-Pieter van Braam 2018-02-26 21:02:03 +01:00
parent 3b96b3fd12
commit 1ea805a4aa
1 changed files with 1 additions and 0 deletions

View File

@ -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))); OS::get_singleton()->add_logger(memnew(RotatedFileLogger(base_path, max_files)));
} }
#ifdef TOOLS_ENABLED
if (editor) { if (editor) {
Engine::get_singleton()->set_editor_hint(true); Engine::get_singleton()->set_editor_hint(true);
main_args.push_back("--editor"); main_args.push_back("--editor");