Merge pull request #6335 from obrakmann/fix6311
Fix end game window conflicting with ingame menu
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user