This commit is contained in:
Your Name 2020-08-18 00:21:24 -06:00
parent 65a91aacca
commit 02e72fb0b3

View File

@ -931,16 +931,15 @@ bot_weapon_think()
for(;;) for(;;)
{ {
wait randomIntRange(2, 4); wait randomIntRange(2, 4);
if(self BotIsFrozen())
continue;
if(self IsBotReloading() || self IsBotSmoking() || self IsBotFragging()) if(self IsBotReloading() || self IsBotSmoking() || self IsBotFragging())
continue; continue;
if(self isDefusing() || self isPlanting()) if(self isDefusing() || self isPlanting())
continue; continue;
curWeap = self GetCurrentWeapon();
if (!isWeaponDroppable(curWeap))
continue;
hasTarget = self hasThreat(); hasTarget = self hasThreat();