Don't die after render if the world doesn't exist
This commit is contained in:
@@ -205,6 +205,9 @@ namespace OpenRA
|
|||||||
|
|
||||||
public static void DispatchMouseInput(MouseInputEvent ev, MouseEventArgs e, Modifiers modifierKeys)
|
public static void DispatchMouseInput(MouseInputEvent ev, MouseEventArgs e, Modifiers modifierKeys)
|
||||||
{
|
{
|
||||||
|
if (world == null)
|
||||||
|
return;
|
||||||
|
|
||||||
int sync = world.SyncHash();
|
int sync = world.SyncHash();
|
||||||
var initialWorld = world;
|
var initialWorld = world;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user