Apply player camera effects and update audio hooks in frame update

This commit is contained in:
2026-04-11 19:08:10 +02:00
parent b33b861a6b
commit bbc9bd0ea5

View File

@@ -1688,6 +1688,10 @@ export class RuntimeHost {
this.previousFrameTime = now;
this.activeController?.update(dt);
this.applyPlayerCameraEffects(dt);
this.audioSystem.setPlayerControllerAudioHooks(
this.currentPlayerAudioHooks
);
this.audioSystem.updateListenerTransform();
this.volumeTime += dt;