mirror of
https://github.com/ineedbots/t5_bot_warfare.git
synced 2026-10-14 05:21:27 +00:00
Can switch to altmode
This commit is contained in:
1 parent
ce3fa16134
commit
48261be3d2
1 file changed
+1
-1
@@ -2591,7 +2591,7 @@ bot_weapon_think()
|
||||
if(!self getAmmoCount(weapon))
|
||||
continue;
|
||||
|
||||
if (!maps\mp\gametypes\_weapons::isPrimaryWeapon( weapon ) && !maps\mp\gametypes\_weapons::isSideArm( weapon ))
|
||||
if (!maps\mp\gametypes\_weapons::isPrimaryWeapon( weapon ) && !maps\mp\gametypes\_weapons::isSideArm( weapon ) && !isWeaponAltmode(weapon))
|
||||
continue;
|
||||
|
||||
if(curWeap == weapon || weapon == "none" || weapon == "" || weapon == "strela_mp")
|
||||
|
||||
Reference in new issue
Block a user