You've already forked godot
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user