fixing lobby bits

This commit is contained in:
Chris Forbes
2010-03-17 21:19:47 +13:00
parent 16f9f5ce89
commit eed2267568
2 changed files with 10 additions and 5 deletions

View File

@@ -311,6 +311,11 @@ namespace OpenRA
get { return orderManager.Connection.LocalClientId == 0; }
}
public static Session.Client LocalClient
{
get { return LobbyInfo.Clients.FirstOrDefault(c => c.Index == orderManager.Connection.LocalClientId); }
}
public static void HandleKeyPress( KeyPressEventArgs e, Modifiers modifiers )
{
int sync = Game.world.SyncHash();