Fix Secondary Offhand

This commit is contained in:
efinst0rm authored and GitHub committed 2023-11-01 09:42:29 -05:00
1 parent 5d3e293e40
commit 5bc60e7923
1 file changed
+3 -5
+3 -5
View File
@@ -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;
}
}