1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-21 04:30:32 -05:00

Apply upgraded weapon camo in last stand

This commit is contained in:
Jbleezy
2023-03-23 22:25:41 -07:00
parent 83a6076372
commit b04dd69d3f
2 changed files with 9 additions and 1 deletions

View File

@ -1808,7 +1808,14 @@ last_stand_pistol_swap()
}
if ( !self hasweapon( self.laststandpistol ) )
{
self giveweapon( self.laststandpistol );
if ( !is_weapon_upgraded( self.laststandpistol ) )
{
self giveweapon( self.laststandpistol );
}
else
{
self giveweapon( self.laststandpistol, 0, self get_pack_a_punch_weapon_options( self.laststandpistol ) );
}
}
ammoclip = weaponclipsize( self.laststandpistol );