Prediction bug fixed
This commit is contained in:
parent
a1796c4198
commit
7f320e4aae
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ class BugAI extends Tactical {
|
|||
val oldField = game.lastBoard.bots(botId) get
|
||||
|
||||
val point = newField.point - oldField.point
|
||||
point + Point(point.x*3, point.y*3)
|
||||
newField.point + point + Point(point.x*3, point.y*3)
|
||||
}
|
||||
|
||||
def nextBot(point: Point) = game.bots minBy { _ l2 point }
|
||||
|
|
Loading…
Add table
Reference in a new issue