Fix loading bug

This commit is contained in:
kolaflash
2026-01-07 13:01:16 +01:00
parent 6824e8d517
commit 0fa915072d
3 changed files with 11 additions and 5 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ export const [loadScene, sceneCache] = useWithAsyncCache(
const entityInstanceMap = sceneEntiyMap.get(name)!;
entityInstanceMap.clear();
Promise.all(
await Promise.all(
data.entities.map(async (entity: Entity<unknown>) => {
await import(`#/entities/${entity.name}/index.ts`);