restart button added for singleplayer in cnc, ra, d2k

This commit is contained in:
Alexander Heinz
2015-01-31 13:58:19 +01:00
committed by Whinis
parent 5516291c60
commit e0c033fe99
5 changed files with 126 additions and 1 deletions

View File

@@ -95,7 +95,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
}
hideMenu = true;
ConfirmationDialogs.PromptConfirmAction("Abort Mission", "Leave this game and return to the menu?", onQuit, showMenu);
ConfirmationDialogs.PromptAbortMission(world, "Abort Mission", "Leave this game and return to the menu?", onQuit, showMenu, closeMenu);
};
var exitEditorButton = menu.Get<ButtonWidget>("EXIT_EDITOR");