diff --git a/OpenRA.Game/Game.cs b/OpenRA.Game/Game.cs index a2d3955668..250fe78b67 100644 --- a/OpenRA.Game/Game.cs +++ b/OpenRA.Game/Game.cs @@ -205,6 +205,9 @@ namespace OpenRA public static void DispatchMouseInput(MouseInputEvent ev, MouseEventArgs e, Modifiers modifierKeys) { + if (world == null) + return; + int sync = world.SyncHash(); var initialWorld = world;