Offer user quick restart if settings change

Ever been annoyed by those settings in the menu that require a restart? Well I haven't fixed those. But I have added a little dialog to save you some time! That's almost as good right?

![Restart Now?](http://imgur.com/HQJr5fT.png)

Hit the button and the game will be loading again within a second or two.

Doesn't check for mouse-lock in anticipation of #5597 landing.


Works for me.


On Wed, Jun 18, 2014 at 11:23 AM, RoosterDragon <notifications@github.com>
wrote:

> In OpenRA.Mods.RA/Widgets/Logic/MainMenuLogic.cs:
>
> > @@ -68,7 +68,7 @@ public MainMenuLogic(Widget widget, World world)
> >
> >  			mainMenu.Get<ButtonWidget>("EXTRAS_BUTTON").OnClick = () => menuType = MenuType.Extras;
> >
> > -			mainMenu.Get<ButtonWidget>("QUIT_BUTTON").OnClick = Game.Exit;
> > +			mainMenu.Get<ButtonWidget>("QUIT_BUTTON").OnClick = () => Game.Exit();
>
> A bit confusing with the RunStatus.Running value though.
>
> Maybe just separate Exit and Restart methods?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/OpenRA/OpenRA/pull/5600/files#r13892360>.
>