Update engine.ts

This commit is contained in:
syuilo
2026-05-18 07:51:14 +09:00
parent 1a456998bc
commit c62d92d88f
@@ -1738,7 +1738,9 @@ export class RoomEngine extends EventEmitter {
public updateEnvOptions(options: RoomState['env']['options']) {
this.roomState.env.options = options;
this.sr.disableSnapshotRendering();
this.envManager.applyOptions(options);
this.sr.enableSnapshotRendering();
this.ev('changeRoomState', { roomState: this.roomState });
}