- Leaving a game now returns you to the respective menu.
- I think that I covered all of the possibilities (mission, skirmish, multiplayer, map editor, replay).
This commit is contained in:
BGluth
2018-07-19 19:57:47 -06:00
committed by Paul Chote
parent d6682faeee
commit a43bdff603
2 changed files with 88 additions and 40 deletions

View File

@@ -59,6 +59,8 @@ namespace OpenRA
static Task discoverNat;
static bool takeScreenshot = false;
public static event Action OnShellmapLoaded;
public static OrderManager JoinServer(string host, int port, string password, bool recordReplay = true)
{
var connection = new NetworkConnection(host, port);
@@ -471,7 +473,10 @@ namespace OpenRA
var shellmap = ChooseShellmap();
using (new PerfTimer("StartGame"))
{
StartGame(shellmap, WorldType.Shellmap);
OnShellmapLoaded();
}
}
static string ChooseShellmap()