Oh, and actually not fight when toggled

This commit is contained in:
Andrew Tomaka 2015-04-11 00:26:07 -04:00
parent be0b329a60
commit 20fbe26f8b

2
bot.js
View file

@ -67,7 +67,7 @@ function mainLoop() {
}
//GLOBAL BOSS
if(globalBossRefreshing() === true && botFightingGlobalBoss === true) {
if(globalBossRefreshing() === true && botFightingGlobalBoss === true && botFightGlobal === true) {
clearInterval(botGlobalBossTimer);
botFightingGlobalBoss = false;
} else if(globalBossRefreshing() === false && botFightingGlobalBoss === false) {