fix op defaults

This commit is contained in:
Your Name 2020-09-18 11:34:51 -06:00
parent 073a3a1f0a
commit b179db5e3f

View File

@ -2031,6 +2031,21 @@ botGiveLoadout( team, class, allowCopycat )
//loadoutSecondaryCamo = "none";
allowOp = (getDvarInt("bots_loadout_allow_op") >= 1);
if (!allowOp)
{
loadoutDeathstreak = "specialty_none";
if (loadoutPrimary == "riotshield_mp")
loadoutPrimary = "m4_mp";
if (loadoutSecondary == "at4_mp")
loadoutSecondary = "usp_mp";
if (loadoutPrimaryAttachment == "gl")
loadoutPrimaryAttachment = "none";
}
if ( level.killstreakRewards )
{