diff --git a/apps/server/src/stores/runtimeState.ts b/apps/server/src/stores/runtimeState.ts index 9d342ed73..289cabc3b 100644 --- a/apps/server/src/stores/runtimeState.ts +++ b/apps/server/src/stores/runtimeState.ts @@ -182,10 +182,7 @@ export function load( rundown: OntimeRundown, initialData?: Partial, ): boolean { - // we need to persist the current block state across loads - // const prevCurrentBlock = { ...runtimeState.currentBlock }; softClear(); - // runtimeState.currentBlock = prevCurrentBlock; // filter rundown const timedEvents = filterTimedEvents(rundown); diff --git a/packages/types/src/definitions/runtime/RuntimeStore.ts b/packages/types/src/definitions/runtime/RuntimeStore.ts index 1180405c9..47f32a1d0 100644 --- a/packages/types/src/definitions/runtime/RuntimeStore.ts +++ b/packages/types/src/definitions/runtime/RuntimeStore.ts @@ -4,7 +4,7 @@ import { OffsetMode } from './Runtime.type.js'; import type { RuntimeStore } from './RuntimeStore.type.js'; import { TimerPhase } from './TimerState.type.js'; -export const runtimeStorePlaceholder: RuntimeStore = { +export const runtimeStorePlaceholder: Readonly = { clock: 0, timer: { addedTime: 0,