Skip to content

Commit 94915a3

Browse files
committed
feat: allow delegate call only after group is selected
1 parent 18946b8 commit 94915a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/buttons.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ async fn delegate_hold(
358358
return Ok(false);
359359
}
360360

361-
if state_val.current_competitor.is_some() {
361+
if state_val.current_competitor.is_some() && state_val.solve_group.is_some() {
362362
let hold_secs = hold_time / 1000;
363363
let hold_secs = if hold_secs > 3 { 3 } else { hold_secs as u8 };
364364

0 commit comments

Comments
 (0)