From 125625c94ca7aa8fd10ace00f98c840b1a56c30b Mon Sep 17 00:00:00 2001 From: Nickiel12 <35903114+Nickiel12@users.noreply.github.com> Date: Wed, 29 Dec 2021 21:09:50 -0800 Subject: [PATCH] finished off the update function --- src/modules/stream_states/stream_states_class.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/stream_states/stream_states_class.rs b/src/modules/stream_states/stream_states_class.rs index 10a5361..57775f2 100644 --- a/src/modules/stream_states/stream_states_class.rs +++ b/src/modules/stream_states/stream_states_class.rs @@ -60,8 +60,8 @@ impl StreamState { self.scene_is_augmented = new_val; self.change_scene(&Scenes::Augmented)}, StateUpdate::UpdateClient => todo!(), - StateUpdate::ComputerMediaDoPause(do_pause) => todo!(), - StateUpdate::ChangeSlide(value) => todo!(), + StateUpdate::ComputerMediaDoPause(do_pause) => {self.computer_sound_is_on = do_pause;}, + StateUpdate::ChangeSlide(_value) => {panic!("Stream_states_class is not supposed to get this update type");}, } }