nav: reworked bot dropping on pathfinder failure

This commit is contained in:
jeefo 2024-02-15 23:57:54 +03:00
commit 375a64b861
No known key found for this signature in database
GPG key ID: 927BCA0779BEA8ED
5 changed files with 19 additions and 12 deletions

View file

@ -1030,6 +1030,9 @@ void Game::slowFrame () {
// display welcome message
util.checkWelcome ();
// kick failed bots
bots.checkNeedsToBeKicked ();
// update next update time
m_oneSecondFrame = nextUpdate + time ();
}