aboutsummaryrefslogtreecommitdiffstats
path: root/code/phase/WaitPhase.cs
diff options
context:
space:
mode:
Diffstat (limited to 'code/phase/WaitPhase.cs')
-rw-r--r--code/phase/WaitPhase.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/phase/WaitPhase.cs b/code/phase/WaitPhase.cs
index c3d0e16..e52c91c 100644
--- a/code/phase/WaitPhase.cs
+++ b/code/phase/WaitPhase.cs
@@ -67,7 +67,7 @@ public class WaitPhase : BasePhase
private void RespawnPlayer(Player pawn)
{
- pawn.CurrentTeam = Team.Spectator;
+ pawn.Team = Team.Spectator;
pawn.DressFromClient( pawn.Client );
pawn.Respawn();
}