From 7c61c13449c0e712a0f522ea5ce807e10eb91dee Mon Sep 17 00:00:00 2001 From: Nicolai Ommer Date: Sat, 8 Jul 2023 10:54:50 +0200 Subject: [PATCH] Do not count aimless kick as foul --- internal/app/statemachine/change_gameevent.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/app/statemachine/change_gameevent.go b/internal/app/statemachine/change_gameevent.go index 52aa4cc6..8936e2b4 100644 --- a/internal/app/statemachine/change_gameevent.go +++ b/internal/app/statemachine/change_gameevent.go @@ -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,