Require explicit INotifySelected and INotifySelection

This commit is contained in:
reaperrr
2017-09-27 21:49:22 +02:00
committed by abcdefg30
parent a8e6cd2604
commit d7c2c6afc4
2 changed files with 4 additions and 1 deletions

View File

@@ -39,7 +39,7 @@ namespace OpenRA.Mods.Common.Traits
paletteWidget = Exts.Lazy(() => Ui.Root.GetOrNull(info.ProductionPaletteWidget) as ProductionPaletteWidget);
}
public void SelectionChanged()
void INotifySelection.SelectionChanged()
{
// Disable for spectators
if (world.LocalPlayer == null)