Fix crash when opening music player from TD lobby.
This commit is contained in:
@@ -560,7 +560,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
|||||||
musicButton.OnClick = () => Ui.OpenWindow("MUSIC_PANEL", new WidgetArgs
|
musicButton.OnClick = () => Ui.OpenWindow("MUSIC_PANEL", new WidgetArgs
|
||||||
{
|
{
|
||||||
{ "onExit", DoNothing },
|
{ "onExit", DoNothing },
|
||||||
{ "world", orderManager.World }
|
{ "world", worldRenderer.World }
|
||||||
});
|
});
|
||||||
|
|
||||||
var settingsButton = lobby.GetOrNull<ButtonWidget>("SETTINGS_BUTTON");
|
var settingsButton = lobby.GetOrNull<ButtonWidget>("SETTINGS_BUTTON");
|
||||||
|
|||||||
Reference in New Issue
Block a user