Fix crash when opening music player from TD lobby.

This commit is contained in:
Paul Chote
2015-08-01 19:14:58 +01:00
parent fb0e2c5cc3
commit 5952d8c979

View File

@@ -560,7 +560,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
musicButton.OnClick = () => Ui.OpenWindow("MUSIC_PANEL", new WidgetArgs
{
{ "onExit", DoNothing },
{ "world", orderManager.World }
{ "world", worldRenderer.World }
});
var settingsButton = lobby.GetOrNull<ButtonWidget>("SETTINGS_BUTTON");