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:
@ -174,16 +174,22 @@ laststand_clean_up_reviving_any( playerbeingrevived ) //checked changed to match
|
|||||||
|
|
||||||
revive_give_back_weapons( gun )
|
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();
|
cur_wep = self getCurrentWeapon();
|
||||||
|
|
||||||
self takeweapon( level.revive_tool );
|
self takeweapon( revive_tool );
|
||||||
|
|
||||||
if ( self maps\mp\zombies\_zm_laststand::player_is_in_laststand() )
|
if ( self maps\mp\zombies\_zm_laststand::player_is_in_laststand() )
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cur_wep != level.revive_tool)
|
if (cur_wep != revive_tool)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -2631,7 +2631,7 @@ race_check_for_kills()
|
|||||||
self waittill("zom_kill", zombie);
|
self waittill("zom_kill", zombie);
|
||||||
|
|
||||||
amount = 1;
|
amount = 1;
|
||||||
if (zombie.animname == "brutus_zombie")
|
if (is_true(zombie.is_brutus))
|
||||||
{
|
{
|
||||||
amount = 10;
|
amount = 10;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user