mirror of
https://github.com/godotengine/godot.git
synced 2025-01-28 21:00:55 +00:00
opening data.pcz
This commit is contained in:
parent
c85a526a21
commit
3826b66a6e
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user