fixed bot_kick

This commit is contained in:
david krekic 2025-04-01 02:53:01 +02:00
parent cd7ff9d05f
commit 1637b425ba

View file

@ -3434,7 +3434,13 @@ void CNavMesh::BeginGeneration( bool incremental )
}
}
#else
engine->ServerCommand( "bot_kick\n" );
#if defined(HL2MP)
engine->ServerCommand("hl2mp_bot_kick all\n");
#elif defined(TF_CLIENT_DLL)
engine->ServerCommand("tf_bot_kick all\n");
#else
engine->ServerCommand("bot_kick\n");
#endif
#endif
// Right now, incrementally-generated areas won't connect to existing areas automatically.