Removed Connection.PlayerIndex == 0 checks if favor of Session.Player.IsAdmin

This commit is contained in:
Nikita Tsukanov
2012-01-09 15:37:55 +04:00
parent 85293a482e
commit ad29926391
4 changed files with 27 additions and 23 deletions

View File

@@ -50,7 +50,7 @@ namespace OpenRA.Network
public int Team;
public string Slot; // slot ID, or null for observer
public string Bot; // Bot type, null for real clients
public bool IsAdmin;
public bool IsReady { get { return State == ClientState.Ready; } }
}