Added bot disabled guard to round start

This commit is contained in:
RGreenlees 2024-03-14 22:44:28 +00:00 committed by pierow
parent 25c148da9c
commit 3217a5226e

View file

@ -951,6 +951,8 @@ void AIMGR_ReloadNavigationData()
void AIMGR_RoundStarted()
{
if (avh_botsenabled.value == 0 || !NavmeshLoaded()) { return; } // Do nothing if we're not using bots
bHasRoundStarted = true;
AvHTeamNumber TeamANumber = GetGameRules()->GetTeamANumber();