Make sure we wait for lobby to open
This commit is contained in:
parent
e43db59f83
commit
86fd720821
1 changed files with 3 additions and 1 deletions
|
@ -119,7 +119,9 @@ function mainLoop() {
|
|||
clearInterval(botGlobalBossTimer);
|
||||
botFightingGlobalBoss = false;
|
||||
} else if(globalBossRefreshing() === false && botFightingGlobalBoss === false && botFightGlobal === true) {
|
||||
clickSelector('span[name="timeRemaining"]:contains("JOIN") a');
|
||||
setTimeout(function() {
|
||||
clickSelector('span[name="timeRemaining"]:contains("JOIN") a');
|
||||
}, 4000);
|
||||
botGlobalBossTimer = setInterval(fightGlobalBoss, 250);
|
||||
botFightingGlobalBoss = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue