mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-05-13 07:54:50 +00:00
fix op defaults
This commit is contained in:
parent
073a3a1f0a
commit
b179db5e3f
@ -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 )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user