From 8d893068abd5dc3093835b85cd27f410a562962d Mon Sep 17 00:00:00 2001 From: Soupdoop Date: Sat, 9 Jan 2016 20:13:20 -0500 Subject: [PATCH] Slight Fix Branches now also check equality through there target. --- RobotPlayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RobotPlayer.java b/RobotPlayer.java index b8044f9..9aa776a 100644 --- a/RobotPlayer.java +++ b/RobotPlayer.java @@ -1224,7 +1224,7 @@ public ArrayList getAllLeftCanditates(){ */ public boolean equal(Object other){ Branch o = (Branch)other; - if(o.branchPoint.equals(this.branchPoint)){ + if(o.branchPoint.equals(this.branchPoint) && o.target.equals(this.target)){ return true; } return false;