Fixed commander update

This commit is contained in:
RGreenlees 2024-03-19 13:53:22 +00:00 committed by pierow
parent 4a45a093ae
commit f2ee8e1dbe

View file

@ -716,9 +716,9 @@ void AIMGR_UpdateAIPlayers()
if (bHasRoundStarted)
{
if (UpdateIndex == FrameSpread)
if (IsPlayerCommander(bot->Edict))
{
if (IsPlayerCommander(bot->Edict))
if (UpdateIndex == FrameSpread)
{
AIPlayerThink(bot);
}