Update engine.ts

This commit is contained in:
syuilo 2026-05-23 20:20:51 +09:00
commit 773077470e

View file

@ -220,7 +220,7 @@ export class RoomEngine extends EngineBase<{
...deepClone(roomState),
installedObjects: roomState.installedObjects.map(o => ({
...o,
options: { ...getObjectDef(o.type).options.default, ...o.options },
options: { ...deepClone(getObjectDef(o.type).options.default), ...o.options },
})),
};
this.roomAttachments = roomAttachments;