From 88425f0ba40f0a6cfbf0acf0159486bf9f1abe54 Mon Sep 17 00:00:00 2001 From: FliiFe Date: Wed, 20 Apr 2016 18:17:52 +0200 Subject: [PATCH] Fixed indentation --- bot.user.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/bot.user.js b/bot.user.js index 8f10844e..1e2a9985 100644 --- a/bot.user.js +++ b/bot.user.js @@ -284,15 +284,15 @@ function AposBot() { } return false; }; - + this.isVirus = function(blob, cell) { - if (cell.isVirus() && this.compareSize(cell, blob, 1.1)) { - return true; - } else if (cell.isVirus() && cell.color.substring(3, 5).toLowerCase() != "ff") { - return true; - } - return false; -}; + if (cell.isVirus() && this.compareSize(cell, blob, 1.1)) { + return true; + } else if (cell.isVirus() && cell.color.substring(3, 5).toLowerCase() != "ff") { + return true; + } + return false; + }; this.isSplitTarget = function(that, blob, cell) { if (that.canSplit(cell, blob)) {