Notification for sleep mode

This commit is contained in:
Andrew Tomaka 2015-04-14 13:27:04 -04:00
parent e06c4c1558
commit 39d58f3c23

2
bot.js
View file

@ -322,10 +322,12 @@ function botToggleUI() {
function botToggleSleep() { function botToggleSleep() {
if(botSleeping) { if(botSleeping) {
console.log('Stopping sleep mode');
botFightRandom = true; botFightRandom = true;
botFightGlobal = true; botFightGlobal = true;
botSleeping = false; botSleeping = false;
} else { } else {
console.log('Starting sleep mode');
botFightRandom = false; botFightRandom = false;
botFightGlobal = false; botFightGlobal = false;
botBuySlimes = false; botBuySlimes = false;