auto-git:

[change] src/runtime-three/runtime-host.ts
This commit is contained in:
2026-04-22 17:02:19 +02:00
parent d13071b915
commit 8a12820bdf

View File

@@ -3710,7 +3710,14 @@ export class RuntimeHost {
const simulationDt = this.isRuntimePaused() ? 0 : dt;
this.activeController?.update(simulationDt);
this.applyPlayerCameraEffects(simulationDt);
const activeCameraRig = this.applyActiveCameraRig(simulationDt);
if (activeCameraRig === null) {
this.applyPlayerCameraEffects(simulationDt);
} else {
this.resetPlayerCameraEffects();
}
this.audioSystem.setPlayerControllerAudioHooks(
this.currentPlayerAudioHooks
);