WIP
This commit is contained in:
+4
-4
@@ -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);
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user