From 238da52d94f9a2e1f476e5c8e155e50dd8519cb7 Mon Sep 17 00:00:00 2001 From: Matthew Stratford Date: Mon, 6 Dec 2021 22:14:53 +0000 Subject: [PATCH] Fix setPlayed on BAPS in channel 0 setting all channels. --- src/showplanner/state.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/showplanner/state.ts b/src/showplanner/state.ts index 6b7472f..2bf828d 100644 --- a/src/showplanner/state.ts +++ b/src/showplanner/state.ts @@ -278,7 +278,7 @@ export const setItemPlayedAt = ( player = getState().showplan.plan![idx].channel; } - if (player) { + if (player != null) { sendBAPSicleChannel({ channel: player, command: playedAt ? "SETPLAYED" : "RESETPLAYED",