Skip to content

Commit

Permalink
skip uid field length in binary resource if not used
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitalita committed Jul 30, 2021
1 parent bc58bf5 commit 6640ab4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/io/resource_format_binary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 6640ab4

Please sign in to comment.