From 7eb7f9fa3128cf6ad94af83673595f74a642c47a Mon Sep 17 00:00:00 2001 From: Baud Date: Sat, 1 Jun 2024 15:55:33 +0100 Subject: [PATCH] Oh, right yeah --- src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 955ad13..d546242 100644 --- a/src/main.rs +++ b/src/main.rs @@ -140,12 +140,13 @@ async fn handle_message_from_node( remaining, } => { if let Some(hyperdeck) = state.hyperdecks.get_mut(&hyperdeck_id) { - hyperdeck + let entry = hyperdeck .slots .entry(slot_id) .or_insert(HyperdeckRecordBay { recording_time_remaining: remaining, }); + entry.recording_time_remaining = remaining; true } else { false