From 1204fc68fccb5638f79361d09042c5ec4d0061cb Mon Sep 17 00:00:00 2001 From: DD Liu Date: Thu, 22 Aug 2019 13:10:53 -0400 Subject: [PATCH] Add md5 for default asset --- src/import/load-costume.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/import/load-costume.js b/src/import/load-costume.js index b8a1ff8c0..a94852afb 100644 --- a/src/import/load-costume.js +++ b/src/import/load-costume.js @@ -219,6 +219,7 @@ const loadCostumeFromAsset = function (costume, runtime, optVersion) { // Use default asset if original fails to load costume.assetId = runtime.storage.defaultAssetId.ImageVector; costume.asset = runtime.storage.get(costume.assetId); + costume.md5 = `${costume.assetId}.${AssetType.ImageVector.runtimeFormat}`; return loadVector_(costume, runtime); }); }