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.


Can we make that arg required please?


On Wed, Jun 18, 2014 at 8:49 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();
>
> Game.Exit now takes an optional Boolean parameter. So it actually reads ()
> => Game.Exit(false); as far as the compiler is concerned, hence why the
> shorthand no longer works.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/OpenRA/OpenRA/pull/5600/files#r13884155>.
>