Fix NRE in mods that don't immediately show the main menu.
This commit is contained in:
@@ -59,7 +59,7 @@ namespace OpenRA
|
|||||||
static Task discoverNat;
|
static Task discoverNat;
|
||||||
static bool takeScreenshot = false;
|
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)
|
public static OrderManager JoinServer(string host, int port, string password, bool recordReplay = true)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user