This commit is contained in:
kolaflash committed 2026-01-04 19:34:15 +01:00
1 parent 415a0c6b6f
commit ead8f3ce5a
21 files changed
+244 -46

No files matched your search

+4 -4
View File
@@ -138,10 +138,10 @@ export async function loadScene(id: string): Promise<void> {
});
}
const instance: Entity<unknown> = {
...structuredClone(entityMap.get(entity.name)!),
...structuredClone(entity),
};
const instance: Entity<unknown> = structuredClone({
...entityMap.get(entity.name)!,
...entity,
});
entityInstanceMap.get(entity.name)!.instances.push(instance);
}),