diff --git a/public/bot.js b/public/bot.js index 763f087..381e5d5 100644 --- a/public/bot.js +++ b/public/bot.js @@ -99,10 +99,8 @@ function mainLoop() { if(haveSlimes(SAFE_SOLDIER_COUNT) === false && botFightRandom === true && botPurchasing === false) { setBotToPurchasing(); clickSelector('button[name="buyx-knight"]'); - botPurchasingTimer = setInterval(function() { - botFillIn('input[name="x_amount"]', SAFE_SOLDIER_COUNT); - clickButton("Yes"); - }, 250); + botFillIn('input[name="x_amount"]', SAFE_SOLDIER_COUNT); + clickButton("Buy"); } if(haveCreepers(SAFE_SOLDIER_COUNT) === false && botFightRandom === true && botPurchasing === false) {