Skip to content

Commit c1c499f

Browse files
committed
Fix detection of invalid goal due to fouls
1 parent 3af538f commit c1c499f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/app/statemachine/change_gameevent.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ func (s *StateMachine) isGoalValid(newState *state.State, gameEvent *state.GameE
288288
message += ","
289289
}
290290
}
291+
return
291292
}
292293

293294
valid = true

0 commit comments

Comments
 (0)