added pause_timer to update_all
This commit is contained in:
parent
7a216c36b2
commit
9a867e0735
1 changed files with 1 additions and 0 deletions
|
@ -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.camera_sub_scene).to_json().to_string());
|
||||||
socket.send(StateUpdate::SubScene(state.screen_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::Scene(state.current_scene).to_json().to_string());
|
||||||
|
socket.send(StateUpdate::PauseTimer(state.timer_paused_length.is_some()).to_json().to_string());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue