Require explicit INotifySelected and INotifySelection
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user