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;
}