Revert replacing generic Ui.OpenWindow with static method in MusicPlayerLogic
This commit is contained in:
@@ -63,7 +63,7 @@ namespace OpenRA.Mods.RA.Widgets.Logic
|
||||
widget.Get<ButtonWidget>("MUSIC").OnClick = () =>
|
||||
{
|
||||
widget.Visible = false;
|
||||
MusicPlayerLogic.OpenWindow(world, () => { widget.Visible = true; });
|
||||
Ui.OpenWindow("MUSIC_PANEL", new WidgetArgs { { "onExit", () => { widget.Visible = true; } } });
|
||||
};
|
||||
widget.Get<ButtonWidget>("RESUME").OnClick = () => onExit();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user