From 07a10e74f390a469bfb03e07f063dc68f5ab754c Mon Sep 17 00:00:00 2001 From: JezuzLizard Date: Tue, 20 Jun 2023 17:55:37 -0700 Subject: [PATCH] Add bots_t8_mode dvar, and fix bug with bot debug prints. --- maps/bots/_bot.gsc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/maps/bots/_bot.gsc b/maps/bots/_bot.gsc index f0ef4c3..382a5e0 100644 --- a/maps/bots/_bot.gsc +++ b/maps/bots/_bot.gsc @@ -75,6 +75,9 @@ init() if ( getDvar( "bots_play_aim" ) == "" ) setDvar( "bots_play_aim", true ); + if ( getDvar( "bots_t8_mode" ) == "" ) + setDvar( "bots_t8_mode", false ); + if ( !isDefined( game["botWarfare"] ) ) game["botWarfare"] = true; @@ -273,7 +276,7 @@ watchBotDebugEvent() if ( msg == "debug" && GetDvarInt( "bots_main_debug" ) ) { - PrintConsole( "Bot Warfare debug: " + self.name + ": " + str + "\n" ); + PrintConsole( "Bot Warfare debug: " + self.playername + ": " + str + "\n" ); } } }