Oh, right yeah

This commit is contained in:
Baud 2024-06-01 15:55:33 +01:00
parent 50fcbeb9f0
commit 7eb7f9fa31
1 changed files with 2 additions and 1 deletions

View File

@ -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