Install Music button - installing not implemented.
This commit is contained in:
@@ -29,6 +29,15 @@ namespace OpenRA.Mods.RA.Widgets.Delegates
|
||||
Widget.CloseWindow();
|
||||
return true;
|
||||
};
|
||||
|
||||
var installed = Rules.Music.Count(m => m.Value.Exists) > 1;
|
||||
|
||||
// Hack around some mix packages including hellmarch for ra
|
||||
bg.GetWidget("BUTTON_INSTALL").IsVisible = () => !installed;
|
||||
bg.GetWidget("BUTTON_INSTALL").OnMouseUp = mi => {
|
||||
return true;
|
||||
};
|
||||
|
||||
|
||||
bg.GetWidget("BUTTON_PLAY").OnMouseUp = mi =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user