1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-18 11:08:26 -05:00

MOTD: fix afterlife weapon not being switched back to after afterlife revive dropped

This commit is contained in:
Jbleezy
2023-03-25 10:59:03 -07:00
parent 4250f4c2bb
commit 81bfa76e95
2 changed files with 9 additions and 3 deletions

View File

@ -174,16 +174,22 @@ laststand_clean_up_reviving_any( playerbeingrevived ) //checked changed to match
revive_give_back_weapons( gun )
{
revive_tool = level.revive_tool;
if ( is_true( self.afterlife ) )
{
revive_tool = level.afterlife_revive_tool;
}
cur_wep = self getCurrentWeapon();
self takeweapon( level.revive_tool );
self takeweapon( revive_tool );
if ( self maps\mp\zombies\_zm_laststand::player_is_in_laststand() )
{
return;
}
if (cur_wep != level.revive_tool)
if (cur_wep != revive_tool)
{
return;
}

View File

@ -2631,7 +2631,7 @@ race_check_for_kills()
self waittill("zom_kill", zombie);
amount = 1;
if (zombie.animname == "brutus_zombie")
if (is_true(zombie.is_brutus))
{
amount = 10;
}