checkf or target

This commit is contained in:
ineed bots 2024-01-18 14:58:38 -06:00
parent 9ac08f9d15
commit 4748f0e8ce

View File

@ -1473,7 +1473,7 @@ aim_loop()
conedot = getConeDot( aimpos, eyePos, angles ); 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 ); self thread bot_lookat( target gettagorigin( "j_spine4" ), 0.05 );
} }