Don't die after render if the world doesn't exist

This commit is contained in:
Paul Chote
2010-08-24 22:48:12 +12:00
parent 8e42dd95fc
commit 95c34c30ba

View File

@@ -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;