diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-08-21 08:54:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-21 08:54:32 +0200 |
commit | 7b37321ae3996b8660f18ae8b2b630e9c1940621 (patch) | |
tree | 8c7c5bed7ad8cee04995c48a9206f2269ff049ae /core/io | |
parent | 093798c976373a664a8e274ae31774e8dcf2238a (diff) | |
parent | b49226e0850d6dd30801881433bf3fef1f1608b1 (diff) |
Merge pull request #31499 from nekomatata/fix-new-project-metadata
Setting project metadata doesn't fail when project_metadata.cfg doesn't exist
Diffstat (limited to 'core/io')
-rw-r--r-- | core/io/config_file.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/config_file.cpp b/core/io/config_file.cpp index 70bb816acd..9063e028be 100644 --- a/core/io/config_file.cpp +++ b/core/io/config_file.cpp @@ -201,7 +201,7 @@ Error ConfigFile::load(const String &p_path) { FileAccess *f = FileAccess::open(p_path, FileAccess::READ, &err); if (!f) - return ERR_CANT_OPEN; + return err; return _internal_load(p_path, f); } |