# HG changeset patch # User IBBoard # Date 1253994913 0 # Node ID a8667ab6036280eeb067e87405f10c9301133b8d # Parent ff80ed9ac50f654d9e4d98aa4bbecb4a170800a5 Re #180: Add multiple mutex groups * Make WinForms UI handle multiple groups instead of assuming one diff -r ff80ed9ac50f -r a8667ab60362 FrmReplaceUnitEquipment.cs --- a/FrmReplaceUnitEquipment.cs Sat Sep 26 19:51:34 2009 +0000 +++ b/FrmReplaceUnitEquipment.cs Sat Sep 26 19:55:13 2009 +0000 @@ -40,7 +40,7 @@ oldItem = item; InitializeComponent(); this.Text = "Replace " + item.EquipmentItem.Name + " with new equipment"; - object[] items = Arrays.Subtract(unit.UnitType.GetEquipmentItemsByExclusionGroup(item.MutexGroups), unit.GetEquipment()); + object[] items = Arrays.Subtract(unit.UnitType.GetEquipmentItemsByExclusionGroups(item.MutexGroups), unit.GetEquipment()); listItems.Items.AddRange(items); equipmentAmount.SetUnit(unit); }