1
0
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:
Jbleezy
2022-01-30 08:23:00 -08:00
parent 4d744a0350
commit 4a0a38cb92

View File

@ -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 ) )
{