From 9a867e0735d66542842eef5bbb7b790e2a1315c9 Mon Sep 17 00:00:00 2001 From: Nickiel12 <35903114+Nickiel12@users.noreply.github.com> Date: Wed, 29 Jun 2022 20:33:12 -0700 Subject: [PATCH] added pause_timer to update_all --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 8e5111a..e0bb349 100644 --- a/src/main.rs +++ b/src/main.rs @@ -107,5 +107,6 @@ fn update_all(state: &StreamState, socket: &Socket) { socket.send(StateUpdate::SubScene(state.camera_sub_scene).to_json().to_string()); socket.send(StateUpdate::SubScene(state.screen_sub_scene).to_json().to_string()); socket.send(StateUpdate::Scene(state.current_scene).to_json().to_string()); + socket.send(StateUpdate::PauseTimer(state.timer_paused_length.is_some()).to_json().to_string()); }