summaryrefslogtreecommitdiff
path: root/core/globals.cpp
diff options
context:
space:
mode:
authorAriel Manzur <ariel@okamstudio.com>2015-05-25 22:42:54 -0300
committerAriel Manzur <ariel@okamstudio.com>2015-05-25 22:42:54 -0300
commit3826b66a6ed785845757fbe54f6a3d028ef79720 (patch)
treea6a8ce8821336015bd68966fbb3d4fe1283aeb8b /core/globals.cpp
parentc85a526a21effb3efa0e64766d098e3729b0a432 (diff)
opening data.pcz
Diffstat (limited to 'core/globals.cpp')
-rw-r--r--core/globals.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/globals.cpp b/core/globals.cpp
index 23d8c16ace..55ba9c5f50 100644
--- a/core/globals.cpp
+++ b/core/globals.cpp
@@ -339,7 +339,7 @@ Error Globals::setup(const String& p_path,const String & p_main_pack) {
//try to load settings in ascending through dirs shape!
//tries to open pack, but only first time
- if (first_time && _load_resource_pack(current_dir+"/data.pck")) {
+ if (first_time && (_load_resource_pack(current_dir+"/data.pck") || _load_resource_pack(current_dir+"/data.pcz") )) {
if (_load_settings("res://engine.cfg")==OK || _load_settings_binary("res://engine.cfb")==OK) {
_load_settings("res://override.cfg");