[Assets] Fix asset catching
This commit is contained in:
parent
c0fad60389
commit
ed5fc58845
1 changed files with 1 additions and 0 deletions
|
@ -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 {};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue