Update runtime control state synchronization and refresh logic
This commit is contained in:
@@ -2614,11 +2614,14 @@ export class RuntimeHost {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this.runtimeScene.scheduler.resolved = nextResolvedScheduler;
|
const nextResolvedControl = applyRuntimeProjectScheduleToControlState(
|
||||||
this.runtimeScene.control.resolved = applyRuntimeProjectScheduleToControlState(
|
|
||||||
this.runtimeScene.control.resolved,
|
this.runtimeScene.control.resolved,
|
||||||
nextResolvedScheduler
|
nextResolvedScheduler,
|
||||||
|
this.runtimeScene.control.baselineResolved
|
||||||
);
|
);
|
||||||
|
this.syncResolvedControlStateToRuntime(nextResolvedControl);
|
||||||
|
this.runtimeScene.scheduler.resolved = nextResolvedScheduler;
|
||||||
|
this.runtimeScene.control.resolved = nextResolvedControl;
|
||||||
|
|
||||||
if (changed) {
|
if (changed) {
|
||||||
this.refreshRuntimeNpcCollections();
|
this.refreshRuntimeNpcCollections();
|
||||||
|
|||||||
Reference in New Issue
Block a user