This commit is contained in:
ineed bots
2026-08-27 22:13:25 -06:00
parent e07fa6ad6d
commit 14d253445b
5 changed files with 455 additions and 29 deletions
+3 -1
View File
@@ -369,6 +369,8 @@ hook_callbacks()
*/
fixGamemodes()
{
level.gametype = getcvar( "g_gametype" );
for ( i = 0; i < 19; i++ )
{
wait 0.05;
@@ -630,7 +632,7 @@ connected()
level.bots[ level.bots.size ] = self;
self thread onDisconnect();
self thread watchBotDebugEvent();
waittillframeend; // wait for waittills to process
level notify( "bot_connected", self );
}