This commit is contained in:
ineed bots 2023-12-31 14:05:42 -06:00
parent 243404fdc8
commit 74152453bf

View File

@ -2867,6 +2867,11 @@ bot_lookat( pos, time, vel, doAimPredict )
setdvar( "aim_automelee_enabled", 1 );
}
if ( getdvar( "aim_automelee_range" ) == "" )
{
setdvar( "aim_automelee_range", 128 );
}
if ( level.gameended || level.inprematchperiod || self.bot.isfrozen || !getdvarint( "bots_play_aim" ) )
{
return;