mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-10 15:17:57 -05:00
Containment: fix Jug health not being restored correctly
This commit is contained in:
@ -221,12 +221,14 @@ perk_set_max_health_if_jugg( perk, set_premaxhealth, clamp_health_to_max_health
|
||||
max_total_health = level.player_starting_health;
|
||||
}
|
||||
}
|
||||
else
|
||||
else if ( perk == "health_reboot" )
|
||||
{
|
||||
if ( perk == "health_reboot" )
|
||||
if(isDefined(level.scr_zm_ui_gametype_obj) && level.scr_zm_ui_gametype_obj == "zcontainment")
|
||||
{
|
||||
max_total_health = level.player_starting_health;
|
||||
return;
|
||||
}
|
||||
|
||||
max_total_health = level.player_starting_health;
|
||||
}
|
||||
if ( isDefined( max_total_health ) )
|
||||
{
|
||||
|
Reference in New Issue
Block a user