Merge pull request #6335 from obrakmann/fix6311

Fix end game window conflicting with ingame menu
This commit is contained in:
Paul Chote
2014-09-03 18:54:51 +12:00
5 changed files with 13 additions and 7 deletions

View File

@@ -47,7 +47,7 @@ namespace OpenRA.Mods.D2k.Widgets.Logic
Action ShowLeaveRestartDialog = () =>
{
gameRoot.IsVisible = () => false;
gameRoot.RemoveChildren();
Game.LoadWidget(world, "LEAVE_RESTART_WIDGET", Ui.Root, new WidgetArgs());
};
world.GameOver += ShowLeaveRestartDialog;