disable music installation during a game

closes #6058
This commit is contained in:
Matthias Mailänder
2014-08-03 14:38:47 +02:00
parent 0502d90a05
commit 282b16e3fc
5 changed files with 14 additions and 3 deletions

View File

@@ -67,7 +67,11 @@ namespace OpenRA.Mods.RA.Widgets.Logic
widget.Get<ButtonWidget>("MUSIC").OnClick = () =>
{
widget.Visible = false;
Ui.OpenWindow("MUSIC_PANEL", new WidgetArgs { { "onExit", () => { widget.Visible = true; } } });
Ui.OpenWindow("MUSIC_PANEL", new WidgetArgs
{
{ "onExit", () => { widget.Visible = true; } },
{ "world", world }
});
};
var resumeButton = widget.Get<ButtonWidget>("RESUME");