sortof works

This commit is contained in:
Chris Forbes
2010-03-29 20:05:54 +13:00
parent 9bdcd17db8
commit 7baaf60eff
4 changed files with 94 additions and 124 deletions

View File

@@ -48,7 +48,7 @@ namespace OpenRA
int localPlayerIndex;
public Player LocalPlayer
{
get { return players[localPlayerIndex]; }
get { return players.ContainsKey(localPlayerIndex) ? players[localPlayerIndex] : null; }
}
public Player NeutralPlayer { get; private set; }