summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorgeequlim <geequlim@gmail.com>2017-07-19 09:25:35 +0800
committergeequlim <geequlim@gmail.com>2017-07-19 09:25:50 +0800
commit5a2500f580025f474a12f0c6afd5129e23a50b14 (patch)
tree853754dccd5909a70dd36f530cfbecc94b3aef33 /main
parent9cf72d0ae174badab07b1461f576955725375046 (diff)
Fix errors with global config names no more sorrys please
Diffstat (limited to 'main')
-rw-r--r--main/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/main.cpp b/main/main.cpp
index ece54e7427..94544a0cde 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -679,7 +679,7 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
#ifdef TOOLS_ENABLED
- if (main_args.size() == 0 && (!GlobalConfig::get_singleton()->has("application/run/main_loop_type")) && (!GlobalConfig::get_singleton()->has("application/main_scene") || String(GlobalConfig::get_singleton()->get("application/main_scene")) == ""))
+ if (main_args.size() == 0 && (!GlobalConfig::get_singleton()->has("application/run/main_loop_type")) && (!GlobalConfig::get_singleton()->has("application/run/main_scene") || String(GlobalConfig::get_singleton()->get("application/run/main_scene")) == ""))
use_custom_res = false; //project manager (run without arguments)
#endif