Shellmap music

This commit is contained in:
Paul Chote
2011-05-15 12:15:49 +12:00
parent cb565e5d3c
commit 0b0fac3c4b
3 changed files with 40 additions and 2 deletions

View File

@@ -253,6 +253,14 @@ namespace OpenRA.Mods.Cnc.Widgets
chatPanel = lobby.GetWidget<CncScrollPanelWidget>("CHAT_DISPLAY");
chatTemplate = chatPanel.GetWidget("CHAT_TEMPLATE");
lobby.GetWidget<CncMenuButtonWidget>("MUSIC_BUTTON").OnClick = () =>
{
Widget.OpenWindow("MUSIC_PANEL", new WidgetArgs()
{
{ "onExit", () => {} },
});
};
}
public void AddChatLine(Color c, string from, string text)