mirror of
https://github.com/JezuzLizard/t4sp_bot_warfare.git
synced 2025-04-21 05:55:43 +00:00
Add bots_t8_mode dvar, and fix bug with bot debug prints.
This commit is contained in:
parent
b117cdb1fa
commit
07a10e74f3
@ -75,6 +75,9 @@ init()
|
|||||||
if ( getDvar( "bots_play_aim" ) == "" )
|
if ( getDvar( "bots_play_aim" ) == "" )
|
||||||
setDvar( "bots_play_aim", true );
|
setDvar( "bots_play_aim", true );
|
||||||
|
|
||||||
|
if ( getDvar( "bots_t8_mode" ) == "" )
|
||||||
|
setDvar( "bots_t8_mode", false );
|
||||||
|
|
||||||
if ( !isDefined( game["botWarfare"] ) )
|
if ( !isDefined( game["botWarfare"] ) )
|
||||||
game["botWarfare"] = true;
|
game["botWarfare"] = true;
|
||||||
|
|
||||||
@ -273,7 +276,7 @@ watchBotDebugEvent()
|
|||||||
|
|
||||||
if ( msg == "debug" && GetDvarInt( "bots_main_debug" ) )
|
if ( msg == "debug" && GetDvarInt( "bots_main_debug" ) )
|
||||||
{
|
{
|
||||||
PrintConsole( "Bot Warfare debug: " + self.name + ": " + str + "\n" );
|
PrintConsole( "Bot Warfare debug: " + self.playername + ": " + str + "\n" );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user