Skip to content
This repository has been archived by the owner on Oct 2, 2021. It is now read-only.

Commit

Permalink
Codestyle + bug fix #292 + #275
Browse files Browse the repository at this point in the history
  • Loading branch information
clemens-tolboom committed Jul 11, 2016
1 parent 5c893cc commit b1a545a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bot.user.js
Expand Up @@ -933,8 +933,8 @@ var scheduler = window.scheduler = (function() {
opt.foodAccelSize = 60;
opt.foodRoundSize = 5;
}
if (lengthGroup != this.lastLengthGroup) {
lengthGroup != this.lastLengthGroup;
if (lengthGroup !== this.lastLengthGroup) {
this.lastLengthGroup = lengthGroup;
// No need to update UI yet.
// userInterface.onPrefChange();
}
Expand Down Expand Up @@ -983,8 +983,8 @@ var scheduler = window.scheduler = (function() {
window.setAcceleration(1);

bot.currentFood = {
x:prey.xx,
y:prey.yy
x: prey.xx,
y: prey.yy
};

window.goalCoordinates = bot.currentFood;
Expand Down

0 comments on commit b1a545a

Please sign in to comment.