mirror of
https://github.com/ineedbots/iw5_bot_warfare.git
synced 2025-04-26 07:34:50 +00:00
Dont reload/fastswap if cant
This commit is contained in:
parent
a5fbe3a84f
commit
d2c6b3d3f9
@ -4009,7 +4009,7 @@ bot_crate_think()
|
||||
*/
|
||||
doReloadCancel_loop()
|
||||
{
|
||||
ret = self waittill_any_return("reload", "weapon_change");
|
||||
ret = self waittill_either_return("reload", "weapon_change");
|
||||
|
||||
if(self BotIsFrozen())
|
||||
return;
|
||||
@ -4025,7 +4025,10 @@ doReloadCancel_loop()
|
||||
|
||||
curWeap = self GetCurrentWeapon();
|
||||
|
||||
if (!maps\mp\gametypes\_weapons::isPrimaryWeapon(curWeap) || isStrStart(curWeap, "alt_"))
|
||||
if (getDvar("sv_enableDoubleTaps") == "0")
|
||||
return;
|
||||
|
||||
if (!maps\mp\gametypes\_weapons::isPrimaryWeapon(curWeap))
|
||||
return;
|
||||
|
||||
if (ret == "reload")
|
||||
|
Loading…
x
Reference in New Issue
Block a user