diff --git a/src/runtime-three/runtime-host.ts b/src/runtime-three/runtime-host.ts index 0ef2cb6f..19cae261 100644 --- a/src/runtime-three/runtime-host.ts +++ b/src/runtime-three/runtime-host.ts @@ -193,6 +193,7 @@ import { import { commitRuntimeScheduleSyncResult, createRuntimeScheduleSyncContext, + refreshRuntimeNpcCollections, syncRuntimeSceneScheduleToClock, type RuntimeScheduleSyncContext } from "./runtime-schedule-sync"; @@ -5251,6 +5252,14 @@ export class RuntimeHost { } } + private refreshRuntimeNpcCollections() { + if (this.runtimeScene === null) { + return; + } + + refreshRuntimeNpcCollections(this.runtimeScene); + } + private refreshCollisionWorldForNpcSchedule() { if (this.runtimeScene === null) { return;