Spawn a server process from ingame

This commit is contained in:
Paul Chote
2010-03-09 19:57:34 +13:00
parent cddefb3919
commit 9d139d43a8
3 changed files with 50 additions and 9 deletions

View File

@@ -92,7 +92,8 @@ namespace OpenRA.Graphics
Game.chrome.DrawDialog("Connecting to {0}:{1}...".F( Game.Settings.NetworkHost, Game.Settings.NetworkPort ));
break;
case ConnectionState.NotConnected:
Game.chrome.DrawDialog("Connection failed.");
// Todo: Hook these up
Game.chrome.DrawDialog("Connection failed.", "Retry", _ => {}, "Cancel",_ => {});
break;
case ConnectionState.Connected:
Game.chrome.DrawLobby( world );