From 58cec5ebf29afbd910a0ed0e28598afb84a1d42c Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Tue, 14 Apr 2015 11:23:54 -0400 Subject: [PATCH] Fix random toggle --- bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.js b/bot.js index 12ac842..cc4dc7c 100644 --- a/bot.js +++ b/bot.js @@ -305,7 +305,7 @@ function botToggleGlobal() { } function botToggleRandom() { - if(botFightGlobal) { + if(botFightRandom) { console.log('Stopping random fighting'); botFightRandom = false; } else {