From 96e8fb36b67a946717385d4bf2c7c5c50fddeef0 Mon Sep 17 00:00:00 2001 From: ineed bots Date: Fri, 5 Apr 2024 11:46:02 -0600 Subject: [PATCH] no teams in sp --- maps/bots/_bot_utility.gsc | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/maps/bots/_bot_utility.gsc b/maps/bots/_bot_utility.gsc index 5d86d7f..1bd3f9a 100644 --- a/maps/bots/_bot_utility.gsc +++ b/maps/bots/_bot_utility.gsc @@ -882,31 +882,6 @@ bot_wait_for_host() { return; } - - for ( i = getdvarfloat( "bots_main_waitForHostTime" ); i > 0; i -= 0.05 ) - { - if ( isdefined( host.pers[ "team" ] ) ) - { - break; - } - - wait 0.05; - } - - if ( !isdefined( host.pers[ "team" ] ) ) - { - return; - } - - for ( i = getdvarfloat( "bots_main_waitForHostTime" ); i > 0; i -= 0.05 ) - { - if ( host.pers[ "team" ] == "allies" || host.pers[ "team" ] == "axis" ) - { - break; - } - - wait 0.05; - } } /*