check for target knife

This commit is contained in:
ineed bots 2024-01-18 14:53:07 -06:00
parent 538269517a
commit 1d464fca49

View File

@ -1582,7 +1582,7 @@ aim_loop()
conedot = getConeDot( aimpos, eyePos, angles );
if ( isdefined( self.bot.knifing_target ) )
if ( isdefined( self.bot.knifing_target ) && self.bot.knifing_target == target )
{
self thread bot_lookat( target gettagorigin( "j_spine4" ), 0.05 );
}