mgr: enable balancing bot difficulty on interval instead of on new round (closes #400)

This commit is contained in:
jeefo 2023-04-12 23:03:36 +03:00
commit 7c76c57974
No known key found for this signature in database
GPG key ID: 927BCA0779BEA8ED
3 changed files with 21 additions and 17 deletions

View file

@ -398,6 +398,9 @@ CR_EXPORT int GetEntityAPI (gamefuncs_t *table, int) {
// keep bot number up to date
bots.maintainQuota ();
// balance bot difficulties
bots.balanceBotDifficulties ();
// flush print queue to users
ctrl.flushPrintQueue ();