summaryrefslogtreecommitdiff
path: root/core/globals.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/globals.cpp')
-rw-r--r--core/globals.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/globals.cpp b/core/globals.cpp
index eed37c2308..b48f34d2df 100644
--- a/core/globals.cpp
+++ b/core/globals.cpp
@@ -304,6 +304,7 @@ Error Globals::setup(const String& p_path,const String & p_main_pack) {
return OK;
}
+
if (OS::get_singleton()->get_resource_dir()!="") {
//OS will call Globals->get_resource_path which will be empty if not overriden!
//if the OS would rather use somewhere else, then it will not be empty.