Skip to content

Commit

Permalink
Do not count aimless kick as foul
Browse files Browse the repository at this point in the history
  • Loading branch information
g3force committed Jul 8, 2023
1 parent 5223b30 commit 7c61c13
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/app/statemachine/change_gameevent.go
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,6 @@ func (s *StateMachine) nextCommandForEvent(newState *state.State, gameEvent *sta
func incrementsFoulCounter(currentState *state.State, gameEvent *state.GameEvent) bool {
switch *gameEvent.Type {
case
state.GameEvent_AIMLESS_KICK,
state.GameEvent_KEEPER_HELD_BALL,
state.GameEvent_ATTACKER_TOUCHED_BALL_IN_DEFENSE_AREA,
state.GameEvent_BOT_DRIBBLED_BALL_TOO_FAR,
Expand Down

0 comments on commit 7c61c13

Please sign in to comment.