[Assets] Fix asset catching

This commit is contained in:
Beef 2022-10-23 00:36:56 +01:00
parent c0fad60389
commit ed5fc58845

View file

@ -17,6 +17,7 @@ export default function patchAssets() {
const asset = assetsModule.getAssetByID(id);
if (!asset) break;
if (all[asset.name]) continue;
all[asset.name] = { ...asset, id: id }
};
} catch {};
}