We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4511cc5 commit 7fc0a81Copy full SHA for 7fc0a81
internal/app/statemachine/placementPos.go
@@ -42,11 +42,7 @@ func (s *BallPlacementPosDeterminer) Location() *geom.Vector2 {
42
}
43
return s.validateLocation(nil)
44
case state.GameEvent_POSSIBLE_GOAL:
45
- if s.Event.GetPossibleGoal().Location != nil {
46
- location := s.Event.GetPossibleGoal().Location
47
- return s.ballPlacementLocationGoalLine(location)
48
- }
49
- return s.validateLocation(nil)
+ return nil
50
case state.GameEvent_AIMLESS_KICK:
51
return s.validateLocation(s.Event.GetAimlessKick().KickLocation)
52
case state.GameEvent_GOAL:
0 commit comments