1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-11 15:48:05 -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

@ -62,6 +62,7 @@
* Increased ladder climb speed
* Start with Semtex on maps that have Semtex
* Entering and exiting last stand no longer refills last stand weapon clip automatically
* Upgraded weapon camo is applied in last stand
* Decreased friendly player name fade out time from 1.5 seconds to 0.25 seconds
* Removed enemy player name fade in time
* Scoreboard no longer counts self revives as revives

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