Merge pull request #6397 from obrakmann/cnc-stats

Enable viewing game stats after the game ends
This commit is contained in:
Matthias Mailänder
2014-09-06 13:52:16 +02:00
9 changed files with 545 additions and 45 deletions

View File

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