Disable map and music install until they can be finished.

This commit is contained in:
Paul Chote
2011-02-04 20:36:18 +13:00
parent 0ddcff7ec7
commit fdb85d67eb
2 changed files with 5 additions and 3 deletions

View File

@@ -56,7 +56,8 @@ namespace OpenRA.Mods.RA.Widgets.Delegates
return true;
};
bg.GetWidget<ButtonWidget>("BUTTON_INSTALL").OnMouseUp = mi => InstallMap();
bg.GetWidget("BUTTON_INSTALL").IsVisible = () => false;
//bg.GetWidget<ButtonWidget>("BUTTON_INSTALL").OnMouseUp = mi => InstallMap();
scrollpanel = bg.GetWidget<ScrollPanelWidget>("MAP_LIST");
itemTemplate = scrollpanel.GetWidget<ContainerWidget>("MAP_TEMPLATE");
EnumerateMaps();