Skip to content

Commit 7c61c13

Browse files
committed
Do not count aimless kick as foul
1 parent 5223b30 commit 7c61c13

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

internal/app/statemachine/change_gameevent.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,6 @@ func (s *StateMachine) nextCommandForEvent(newState *state.State, gameEvent *sta
376376
func incrementsFoulCounter(currentState *state.State, gameEvent *state.GameEvent) bool {
377377
switch *gameEvent.Type {
378378
case
379-
state.GameEvent_AIMLESS_KICK,
380379
state.GameEvent_KEEPER_HELD_BALL,
381380
state.GameEvent_ATTACKER_TOUCHED_BALL_IN_DEFENSE_AREA,
382381
state.GameEvent_BOT_DRIBBLED_BALL_TOO_FAR,

0 commit comments

Comments
 (0)