Fix loading projects with duplicated assetId but differing md5ext

This commit is contained in:
Thomas Weber committed 2021-10-12 15:02:28 -05:00
1 parent 65df4c4604
commit aa142b4058
1 file changed
+3 -1
+3 -1
View File
@@ -188,7 +188,9 @@ const loadScratch3 = (projectData, progressTarget) => {
const knownIds = new Set();
for (const i of assets) {
const id = i.assetId;
// Use md5ext instead of assetId because there are a few projects that have assets with the same
// assetId but different md5ext. (eg. https://scratch.mit.edu/projects/531881458)
const id = i.md5ext;
if (knownIds.has(id)) {
continue;
}