diff --git a/src/runtime-three/runtime-project-scheduler.ts b/src/runtime-three/runtime-project-scheduler.ts index 68e9c1e3..2d368e8e 100644 --- a/src/runtime-three/runtime-project-scheduler.ts +++ b/src/runtime-three/runtime-project-scheduler.ts @@ -484,11 +484,14 @@ export function resolveRuntimeProjectScheduleState(options: { scheduler: ProjectScheduler; sequences: ProjectSequenceLibrary; actorIds: string[]; + actorIdsAreUnique?: boolean; dayNumber: number; timeOfDayHours: number; pathsById?: ReadonlyMap; }): RuntimeResolvedProjectScheduleState { - const actorIds = [...new Set(options.actorIds)]; + const actorIds = options.actorIdsAreUnique + ? options.actorIds + : [...new Set(options.actorIds)]; return { actors: actorIds.map((actorId) =>