Skip to content

Commit fc18e84

Browse files
committed
Do not suggest next stage during shootout
1 parent 03931a5 commit fc18e84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/app/engine/process_continue_next_action.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ func (e *Engine) nextActions() (actions []*ContinueAction, hints []*ContinueHint
102102

103103
if *e.currentState.Command.Type == state.Command_STOP ||
104104
*e.currentState.Command.Type == state.Command_HALT {
105-
if e.currentState.StageTimeLeft.AsDuration() < 0 {
105+
if e.currentState.StageTimeLeft.AsDuration() < 0 && *e.currentState.Stage != state.Referee_PENALTY_SHOOTOUT {
106106
actions = append(actions, createContinueAction(
107107
ContinueAction_NEXT_STAGE,
108108
state.Team_UNKNOWN,

0 commit comments

Comments
 (0)