diff options
| author | Poommetee Ketson | 2017-09-02 21:19:06 +0700 |
|---|---|---|
| committer | Poommetee Ketson | 2017-09-02 21:19:06 +0700 |
| commit | 459f526119da43efae52307a6165a8ccd5cb2288 (patch) | |
| tree | c61ea80ca6adf2a2494ffdebb0a73dd56d4e5cbc /core/io/resource_format_binary.cpp | |
| parent | b4efb832a749730b924f63be073cfe80c9afc334 (diff) | |
| download | godot-459f526119da43efae52307a6165a8ccd5cb2288.tar.gz godot-459f526119da43efae52307a6165a8ccd5cb2288.tar.zst godot-459f526119da43efae52307a6165a8ccd5cb2288.zip | |
Diffstat (limited to 'core/io/resource_format_binary.cpp')
| -rw-r--r-- | core/io/resource_format_binary.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/io/resource_format_binary.cpp b/core/io/resource_format_binary.cpp index d090d7a20..c5909981e 100644 --- a/core/io/resource_format_binary.cpp +++ b/core/io/resource_format_binary.cpp @@ -878,7 +878,7 @@ void ResourceInteractiveLoaderBinary::open(FileAccess *p_f) { if (ver_format > FORMAT_VERSION || ver_major > VERSION_MAJOR) { f->close(); - ERR_EXPLAIN("File Format '" + itos(FORMAT_VERSION) + "." + itos(ver_major) + "." + itos(ver_minor) + "' is too new! Please upgrade to a a new engine version: " + local_path); + ERR_EXPLAIN("File Format '" + itos(FORMAT_VERSION) + "." + itos(ver_major) + "." + itos(ver_minor) + "' is too new! Please upgrade to a new engine version: " + local_path); ERR_FAIL(); } @@ -1178,7 +1178,7 @@ Error ResourceFormatLoaderBinary::rename_dependencies(const String &p_path, cons memdelete(f); memdelete(fw); - ERR_EXPLAIN("File Format '" + itos(FORMAT_VERSION) + "." + itos(ver_major) + "." + itos(ver_minor) + "' is too new! Please upgrade to a a new engine version: " + local_path); + ERR_EXPLAIN("File Format '" + itos(FORMAT_VERSION) + "." + itos(ver_major) + "." + itos(ver_minor) + "' is too new! Please upgrade to a new engine version: " + local_path); ERR_FAIL_V(ERR_FILE_UNRECOGNIZED); } |
