Skip to content

Commit 570562e

Browse files
committed
[#140] Fix: Do not reset currentActionTimeRemaining for normal_start
1 parent 9945902 commit 570562e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/app/statemachine/change_command.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func (s *StateMachine) currentActionTimeRemainingForCommand(command state.Comman
8282
return durationpb.New(s.gameConfig.BallPlacementTime)
8383
case state.Command_DIRECT:
8484
return durationpb.New(s.gameConfig.FreeKickTimeout[division])
85-
case state.Command_KICKOFF, state.Command_PENALTY:
85+
case state.Command_KICKOFF, state.Command_PENALTY, state.Command_NORMAL_START:
8686
return durationpb.New(s.gameConfig.PrepareTimeout)
8787
default:
8888
return durationpb.New(0)

0 commit comments

Comments
 (0)