PC-574
Fixes an issue where staff in vanish would be placed in the game after each round.
This commit is contained in:
parent
c3a18813ee
commit
1d3e12dfb6
@ -2138,7 +2138,13 @@ public class MineStrike extends TeamGame
|
|||||||
team.SpawnTeleport(false);
|
team.SpawnTeleport(false);
|
||||||
|
|
||||||
//Revive Dead Players
|
//Revive Dead Players
|
||||||
for (Player player : GetPlayers(false))
|
for (Player player : GetPlayers(false))
|
||||||
|
{
|
||||||
|
if (Manager.isVanished(player))
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if (!IsAlive(player))
|
if (!IsAlive(player))
|
||||||
{
|
{
|
||||||
SetPlayerState(player, PlayerState.IN);
|
SetPlayerState(player, PlayerState.IN);
|
||||||
@ -2156,6 +2162,7 @@ public class MineStrike extends TeamGame
|
|||||||
if (GetKit(player) != null)
|
if (GetKit(player) != null)
|
||||||
GetKit(player).ApplyKit(player);
|
GetKit(player).ApplyKit(player);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//Remove Scope
|
//Remove Scope
|
||||||
for (Player player : GetPlayers(false))
|
for (Player player : GetPlayers(false))
|
||||||
|
Loading…
Reference in New Issue
Block a user