From ed5fc5884589a4aee0e6a9e1cbb21f1173130525 Mon Sep 17 00:00:00 2001 From: Beef Date: Sun, 23 Oct 2022 00:36:56 +0100 Subject: [PATCH] [Assets] Fix asset catching --- src/ui/assets.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/assets.ts b/src/ui/assets.ts index 7b3a00d..db3b092 100644 --- a/src/ui/assets.ts +++ b/src/ui/assets.ts @@ -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 {}; }