Skip to content

Commit

Permalink
[#140] Fix: Do not reset currentActionTimeRemaining for normal_start
Browse files Browse the repository at this point in the history
  • Loading branch information
g3force committed Apr 5, 2024
1 parent 9945902 commit 570562e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/app/statemachine/change_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func (s *StateMachine) currentActionTimeRemainingForCommand(command state.Comman
return durationpb.New(s.gameConfig.BallPlacementTime)
case state.Command_DIRECT:
return durationpb.New(s.gameConfig.FreeKickTimeout[division])
case state.Command_KICKOFF, state.Command_PENALTY:
case state.Command_KICKOFF, state.Command_PENALTY, state.Command_NORMAL_START:
return durationpb.New(s.gameConfig.PrepareTimeout)
default:
return durationpb.New(0)
Expand Down

0 comments on commit 570562e

Please sign in to comment.