This commit is contained in:
kolaflash
2026-01-04 19:34:15 +01:00
parent 415a0c6b6f
commit ead8f3ce5a
21 changed files with 244 additions and 46 deletions
+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);
}),