This commit is contained in:
INeedBots 2020-11-10 05:35:20 -06:00
parent 81d305ec54
commit c578dce2d6

View File

@ -2002,9 +2002,9 @@ prone()
*/ */
changeToWeap(weap) changeToWeap(weap)
{ {
toks = strtok(weap, "_"); if (maps\mp\gametypes\_weapons::isAltModeWeapon(weap))
if (toks[0] == "gl" || isSubStr(weap, "shotgun_attach_"))
{ {
self botWeapon("");
self setSpawnWeapon(weap); self setSpawnWeapon(weap);
return; return;
} }