Fix bogus pause logic.
This commit is contained in:
@@ -175,13 +175,7 @@ namespace OpenRA.Widgets
|
||||
return true;
|
||||
}
|
||||
else if (e.KeyName == Game.Settings.Keys.PauseKey)
|
||||
{
|
||||
world.IssueOrder(Order.PauseRequest());
|
||||
}
|
||||
|
||||
bool handled = false;
|
||||
|
||||
if (handled) return true;
|
||||
world.IssueOrder(Order.PauseGame(!world.Paused));
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user