diff options
| author | Juan Linietsky | 2015-05-19 21:36:35 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-05-19 21:36:35 -0300 |
| commit | 221443c5a2d174e52d391d15d5f1c6b5c9496d57 (patch) | |
| tree | dcea619ff3068a557c44aac5873676ea9e1a151c /core/io/resource_format_xml.cpp | |
| parent | f220183e40cb100cdfb8158c5217076377a62980 (diff) | |
| download | godot-221443c5a2d174e52d391d15d5f1c6b5c9496d57.tar.gz godot-221443c5a2d174e52d391d15d5f1c6b5c9496d57.tar.zst godot-221443c5a2d174e52d391d15d5f1c6b5c9496d57.zip | |
Diffstat (limited to 'core/io/resource_format_xml.cpp')
| -rw-r--r-- | core/io/resource_format_xml.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/resource_format_xml.cpp b/core/io/resource_format_xml.cpp index ce648523f..3c100d375 100644 --- a/core/io/resource_format_xml.cpp +++ b/core/io/resource_format_xml.cpp @@ -1671,7 +1671,7 @@ void ResourceInteractiveLoaderXML::open(FileAccess *p_f) { int major = version.get_slice(".",0).to_int(); int minor = version.get_slice(".",1).to_int(); - if (major>VERSION_MAJOR || (major==VERSION_MAJOR && minor>VERSION_MINOR)) { + if (major>VERSION_MAJOR) { error=ERR_FILE_UNRECOGNIZED; ResourceLoader::notify_load_error(local_path+": File Format '"+version+"' is too new. Please upgrade to a newer engine version."); |
