Skip to content

Commit 1b7f8ad

Browse files
committed
Fix: Allow continuation of blocked actions
Sometimes, it blocked condition may be ignored by the referee, like if the ball is not placed correctly.
1 parent 40c71a7 commit 1b7f8ad

File tree

1 file changed

+2
-1
lines changed
  • frontend/src/providers/controlApi

1 file changed

+2
-1
lines changed

frontend/src/providers/controlApi/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ export class ControlApi {
120120
public Continue(continueAction: ContinueAction) {
121121
if (continueAction.state === ContinueAction_State.READY_AUTO
122122
|| continueAction.state === ContinueAction_State.READY_MANUAL
123-
|| continueAction.state === ContinueAction_State.WAITING) {
123+
|| continueAction.state === ContinueAction_State.WAITING
124+
|| continueAction.state === ContinueAction_State.BLOCKED) {
124125
this.Send({
125126
continueAction
126127
})

0 commit comments

Comments
 (0)