mirror of
https://github.com/ineedbots/t4_bot_warfare.git
synced 2025-04-22 16:05:44 +00:00
register
This commit is contained in:
parent
896928fef0
commit
243404fdc8
@ -2861,6 +2861,12 @@ bot_lookat( pos, time, vel, doAimPredict )
|
||||
self endon( "spawned_player" );
|
||||
level endon ( "game_ended" );
|
||||
|
||||
// dedi doesnt have this registered
|
||||
if ( getdvar( "aim_automelee_enabled" ) == "" )
|
||||
{
|
||||
setdvar( "aim_automelee_enabled", 1 );
|
||||
}
|
||||
|
||||
if ( level.gameended || level.inprematchperiod || self.bot.isfrozen || !getdvarint( "bots_play_aim" ) )
|
||||
{
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user