Skip to content

Commit 6ca326d

Browse files
committed
DistanceLimit Fixed
1 parent d68a1df commit 6ca326d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/com/group/golf/modes/TwoGoalsMode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public class TwoGoalsMode extends GameMode {
5959
* @param distanceLimit the limit of distance between the two balls
6060
*/
6161
public TwoGoalsMode(Golf game, Course course, Ball[] balls, double distanceLimit) {
62-
// this.distanceLimit = 10.5;
62+
this.distanceLimit = distanceLimit;
6363
this.game = game;
6464
this.course = course;
6565
this.balls = balls;

0 commit comments

Comments
 (0)