mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-25 14:40:32 -05:00
Encounter: Nuke makes downed enemy players wait to respawn
This commit is contained in:
@ -905,6 +905,12 @@ on_player_bleedout()
|
|||||||
|
|
||||||
if(is_respawn_gamemode())
|
if(is_respawn_gamemode())
|
||||||
{
|
{
|
||||||
|
if (self.bleedout_time > 0)
|
||||||
|
{
|
||||||
|
wait self.bleedout_time;
|
||||||
|
self.sessionstate = "playing";
|
||||||
|
}
|
||||||
|
|
||||||
self maps\mp\zombies\_zm::spectator_respawn();
|
self maps\mp\zombies\_zm::spectator_respawn();
|
||||||
self.revives--;
|
self.revives--;
|
||||||
}
|
}
|
||||||
@ -2452,13 +2458,13 @@ unlimited_powerups()
|
|||||||
|
|
||||||
player_suicide()
|
player_suicide()
|
||||||
{
|
{
|
||||||
self notify( "player_suicide" );
|
if (self.bleedout_time <= 0)
|
||||||
|
|
||||||
if(is_respawn_gamemode())
|
|
||||||
{
|
{
|
||||||
return;
|
self.bleedout_time = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
self notify( "player_suicide" );
|
||||||
|
|
||||||
self.playersuicided = 1;
|
self.playersuicided = 1;
|
||||||
|
|
||||||
wait_network_frame();
|
wait_network_frame();
|
||||||
|
Reference in New Issue
Block a user