Fixes an issue where staff in vanish would be placed in the game after
each round.
This commit is contained in:
Sam 2016-06-16 12:10:39 +01:00
parent c3a18813ee
commit 1d3e12dfb6
1 changed files with 8 additions and 1 deletions

View File

@ -2139,6 +2139,12 @@ public class MineStrike extends TeamGame
//Revive Dead Players
for (Player player : GetPlayers(false))
{
if (Manager.isVanished(player))
{
continue;
}
if (!IsAlive(player))
{
SetPlayerState(player, PlayerState.IN);
@ -2156,6 +2162,7 @@ public class MineStrike extends TeamGame
if (GetKit(player) != null)
GetKit(player).ApplyKit(player);
}
}
//Remove Scope
for (Player player : GetPlayers(false))