summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authornikitalita <69168929+nikitalita@users.noreply.github.com>2021-07-29 22:25:18 -0700
committernikitalita <69168929+nikitalita@users.noreply.github.com>2021-07-29 22:25:18 -0700
commit6640ab406b4a3d59a1a4c3059d243f438d4f453b (patch)
tree347e761624a36029bc2b8f18ef3df7747d75ded6 /core
parentbc58bf5477bc06c5ddcda04a95c6b13e137eec88 (diff)
skip uid field length in binary resource if not used
Diffstat (limited to 'core')
-rw-r--r--core/io/resource_format_binary.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/io/resource_format_binary.cpp b/core/io/resource_format_binary.cpp
index 619e4a2170..00d4d093da 100644
--- a/core/io/resource_format_binary.cpp
+++ b/core/io/resource_format_binary.cpp
@@ -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;
}