mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-20 13:15:44 +00:00
Fix scr errors with missing perk in table
This commit is contained in:
parent
89c2abb5f1
commit
17e36e08c7
@ -2794,7 +2794,7 @@ botGiveLoadout( team, class, allowCopycat )
|
|||||||
|
|
||||||
if ( !allowOp )
|
if ( !allowOp )
|
||||||
{
|
{
|
||||||
loadoutDeathstreak = "specialty_none";
|
loadoutDeathstreak = "specialty_null";
|
||||||
|
|
||||||
if ( loadoutPrimary == "riotshield" )
|
if ( loadoutPrimary == "riotshield" )
|
||||||
loadoutPrimary = "m4";
|
loadoutPrimary = "m4";
|
||||||
@ -2806,10 +2806,10 @@ botGiveLoadout( team, class, allowCopycat )
|
|||||||
loadoutPrimaryAttachment = "none";
|
loadoutPrimaryAttachment = "none";
|
||||||
|
|
||||||
if ( loadoutPerk2 == "specialty_coldblooded" )
|
if ( loadoutPerk2 == "specialty_coldblooded" )
|
||||||
loadoutPerk2 = "specialty_none";
|
loadoutPerk2 = "specialty_null";
|
||||||
|
|
||||||
if ( loadoutPerk3 == "specialty_localjammer" )
|
if ( loadoutPerk3 == "specialty_localjammer" )
|
||||||
loadoutPerk3 = "specialty_none";
|
loadoutPerk3 = "specialty_null";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user