Skip to content

Commit f1c1e93

Browse files
committed
Do not give a red card for DEFENDER_IN_DEFENSE_AREA
1 parent faff4c1 commit f1c1e93

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
@@ -397,7 +397,6 @@ func addsYellowCard(gameEvent state.GameEvent_Type) bool {
397397
func addsRedCard(gameEvent state.GameEvent_Type) bool {
398398
switch gameEvent {
399399
case
400-
state.GameEvent_DEFENDER_IN_DEFENSE_AREA,
401400
state.GameEvent_MULTIPLE_CARDS,
402401
state.GameEvent_UNSPORTING_BEHAVIOR_MAJOR:
403402
return true

0 commit comments

Comments
 (0)