From 10c94388704e9e014643afd7360a0672cbd4d352 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Tue, 14 Apr 2026 03:02:17 +0200 Subject: [PATCH] Rename syncRuntimeNpcScheduleToCurrentClock to syncRuntimeScheduleToCurrentClock --- src/runtime-three/runtime-host.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/runtime-three/runtime-host.ts b/src/runtime-three/runtime-host.ts index 1055fc8e..dbf54397 100644 --- a/src/runtime-three/runtime-host.ts +++ b/src/runtime-three/runtime-host.ts @@ -459,7 +459,7 @@ export class RuntimeHost { this.runtimeScene = runtimeScene; this.currentWorld = runtimeScene.world; this.syncRuntimeClockState(runtimeScene.time); - this.syncRuntimeNpcScheduleToCurrentClock(); + this.syncRuntimeScheduleToCurrentClock(); this.activeController?.deactivate(this.controllerContext, { releasePointerLock: !preservePointerLockDuringLoad }); @@ -2504,7 +2504,7 @@ export class RuntimeHost { dt ); if (this.sceneReady) { - this.syncRuntimeNpcScheduleToCurrentClock(); + this.syncRuntimeScheduleToCurrentClock(); } this.applyDayNightLighting(); this.clockPublishAccumulator += dt; @@ -2573,7 +2573,7 @@ export class RuntimeHost { this.firstPersonController.teleportTo(target.position, target.yawDegrees); } - private syncRuntimeNpcScheduleToCurrentClock() { + private syncRuntimeScheduleToCurrentClock() { if (this.runtimeScene === null || this.currentClockState === null) { return; }