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