From 07e8f2625fb595336b23fa632a58309acbd8254c Mon Sep 17 00:00:00 2001 From: Ewan Lyon Date: Sat, 17 Aug 2024 19:04:44 +1000 Subject: [PATCH] Update twitch after replicant change --- src/extension/run-control.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extension/run-control.ts b/src/extension/run-control.ts index 4a6fdd9..d6e63e3 100644 --- a/src/extension/run-control.ts +++ b/src/extension/run-control.ts @@ -111,10 +111,10 @@ async function changeActiveRun(id?: string): Promise { if (!runData) { throw new Error(`Run with ID ${id} was not found`); } else { - const noTwitchGame = await updateTwitchInformation(runData); runDataActiveRun.value = clone(runData); to(resetTimer(true)); nodecg.log.debug(`[Run Control] Active run changed to ${id}`); + const noTwitchGame = await updateTwitchInformation(runData); return noTwitchGame; } } catch (err) {