nav: pause a little if doing jump sequence
This commit is contained in:
parent
7f4d4748fa
commit
57f5c1f323
3 changed files with 17 additions and 7 deletions
|
|
@ -2773,13 +2773,7 @@ void Bot::executeTasks () {
|
|||
auto func = getTask ()->func;
|
||||
|
||||
// run the current task
|
||||
if (func != nullptr) {
|
||||
(this->*func) ();
|
||||
}
|
||||
else {
|
||||
logger.error ("Missing callback function of Task %d.", getCurrentTaskId ());
|
||||
kick (); // drop the player, as it's fatal for bot
|
||||
}
|
||||
(this->*func) ();
|
||||
}
|
||||
|
||||
void Bot::checkSpawnConditions () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue