From c54829744d662bd414cc3cd2f1fad77fa28a7c9b Mon Sep 17 00:00:00 2001 From: JezuzLizard Date: Sun, 7 Feb 2021 05:01:54 -0800 Subject: [PATCH] patch_mp/maps/mp/bots/_bot.gsc removed debugging code. --- patch_mp/maps/mp/bots/_bot.gsc | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/patch_mp/maps/mp/bots/_bot.gsc b/patch_mp/maps/mp/bots/_bot.gsc index 2764f0b..113062b 100644 --- a/patch_mp/maps/mp/bots/_bot.gsc +++ b/patch_mp/maps/mp/bots/_bot.gsc @@ -19,14 +19,6 @@ init() //checked matches cerberus output { - //begin debug code - level.custom_bot_loaded = 1; - maps/mp/gametypes/_clientids::init(); - if ( !isDefined( level.debugLogging_bot ) ) - { - level.debugLogging_bot = 0; - } - //end debug code /* /# level thread bot_system_devgui_think(); @@ -37,23 +29,18 @@ init() //checked matches cerberus output { return; } - /* if ( level.rankedmatch && !is_bot_ranked_match() ) { return; } - */ - /* bot_friends = getDvarInt( "bot_friends" ); bot_enemies = getDvarInt( "bot_enemies" ); if ( bot_friends <= 0 && bot_enemies <= 0 ) { return; } - */ - //bot_wait_for_host(); + bot_wait_for_host(); bot_set_difficulty(); - /* if ( is_bot_comp_stomp() ) { team = bot_choose_comp_stomp_team(); @@ -65,9 +52,8 @@ init() //checked matches cerberus output } else { - */ level thread bot_local_think(); - //} + } } spawn_bot( team ) //checked matches cerberus output @@ -484,10 +470,8 @@ bot_local_think() //checked changed at own discretion { host_team = "allies"; } - //bot_expected_friends = getDvarInt( "bot_friends" ); - //bot_expected_enemies = getDvarInt( "bot_enemies" ); - bot_expected_friends = 1; - bot_expected_enemies = 1; + bot_expected_friends = getDvarInt( "bot_friends" ); + bot_expected_enemies = getDvarInt( "bot_enemies" ); if ( islocalgame() ) { }