From 5bc60e7923a9eba38cda5ab9ad5a1258dd235a0a Mon Sep 17 00:00:00 2001 From: efinst0rm Date: Wed, 1 Nov 2023 09:42:29 -0500 Subject: [PATCH] Fix Secondary Offhand --- iw4x/iw4x_00/maps/mp/gametypes/_class.gsc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/iw4x/iw4x_00/maps/mp/gametypes/_class.gsc b/iw4x/iw4x_00/maps/mp/gametypes/_class.gsc index cc3eeb8..d981d4a 100644 --- a/iw4x/iw4x_00/maps/mp/gametypes/_class.gsc +++ b/iw4x/iw4x_00/maps/mp/gametypes/_class.gsc @@ -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; -} \ No newline at end of file +}