From 8624e5e421552bce46e2cbeb8c6ff532bd5c3b28 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Tue, 14 Apr 2015 10:09:27 -0400 Subject: [PATCH] Add new pop-up handler --- bot.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bot.js b/bot.js index a421287..fa9b121 100644 --- a/bot.js +++ b/bot.js @@ -9,7 +9,7 @@ var botFightingGlobalBoss = false; var botBuySlimes = false; var botFightGlobal = true; var botRaidTarget = null; -var botLastRandom; +var botLastRandom = 0; function mainLoop() { if($('#popup').is(':visible')) { @@ -54,6 +54,7 @@ function mainLoop() { case 'Lobby closed': case 'Wait': case 'ACTIVITY FAILED!': + case 'Game in progress': clickButton('CONTINUE'); break; default: