Fix Secondary Offhand

pull/4/head
efinst0rm 2023-11-01 09:42:29 -05:00 committed by GitHub
parent 5d3e293e40
commit 5bc60e7923
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 5 deletions

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;
}
}