Fix Secondary Offhand
This commit is contained in:
1 parent
5d3e293e40
commit
5bc60e7923
1 file changed
+3
-5
@@ -620,11 +620,9 @@ giveLoadout( team, class, allowCopycat )
|
||||
default:
|
||||
self giveWeapon( offhandSecondaryWeapon );
|
||||
|
||||
if( loadOutOffhand == "smoke_grenade" )
|
||||
self setWeaponAmmoClip( offhandSecondaryWeapon, 1 );
|
||||
else if( loadOutOffhand == "flash_grenade" )
|
||||
if ( loadOutOffhand == "flash_grenade_mp" )
|
||||
self setWeaponAmmoClip( offhandSecondaryWeapon, 2 );
|
||||
else if( loadOutOffhand == "concussion_grenade" )
|
||||
else if( loadOutOffhand == "concussion_grenade_mp" )
|
||||
self setWeaponAmmoClip( offhandSecondaryWeapon, 2 );
|
||||
else
|
||||
self setWeaponAmmoClip( offhandSecondaryWeapon, 1 );
|
||||
@@ -1329,4 +1327,4 @@ isValidWeapon( refString )
|
||||
assertMsg( "Replacing invalid weapon/attachment combo: " + refString );
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user