diff options
author | nikitalita <69168929+nikitalita@users.noreply.github.com> | 2021-07-29 22:25:18 -0700 |
---|---|---|
committer | nikitalita <69168929+nikitalita@users.noreply.github.com> | 2021-07-29 22:25:18 -0700 |
commit | 6640ab406b4a3d59a1a4c3059d243f438d4f453b (patch) | |
tree | 347e761624a36029bc2b8f18ef3df7747d75ded6 /core | |
parent | bc58bf5477bc06c5ddcda04a95c6b13e137eec88 (diff) |
skip uid field length in binary resource if not used
Diffstat (limited to 'core')
-rw-r--r-- | core/io/resource_format_binary.cpp | 1 |
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; } |