Fix NRE in mods that don't immediately show the main menu.

This commit is contained in:
Paul Chote
2018-07-26 10:49:05 +01:00
committed by reaperrr
parent 65776bdeb5
commit f9230a72f2

View File

@@ -59,7 +59,7 @@ namespace OpenRA
static Task discoverNat;
static bool takeScreenshot = false;
public static event Action OnShellmapLoaded;
public static event Action OnShellmapLoaded = () => { };
public static OrderManager JoinServer(string host, int port, string password, bool recordReplay = true)
{