1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-04 17:04:49 +00:00

skip uid field length in binary resource if not used

This commit is contained in:
nikitalita
2021-07-29 22:25:18 -07:00
parent bc58bf5477
commit 6640ab406b

View File

@@ -903,6 +903,7 @@ void ResourceLoaderBinary::open(FileAccess *p_f, bool p_no_resources, bool p_kee
if (using_uids) {
uid = f->get_64();
} else {
f->get_64(); // skip over uid field
uid = ResourceUID::INVALID_ID;
}