Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.WinForms
changeset 69:ff80ed9ac50f
Re #180: Add multiple mutex groups
* Make WinForms UI handle multiple groups instead of assuming one
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 26 Sep 2009 19:51:34 +0000 |
parents | fd8654afd331 |
children | a8667ab60362 |
files | FrmReplaceUnitEquipment.cs |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/FrmReplaceUnitEquipment.cs Sat Sep 26 19:12:04 2009 +0000 +++ b/FrmReplaceUnitEquipment.cs Sat Sep 26 19:51:34 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.MutexGroup), unit.GetEquipment()); + object[] items = Arrays.Subtract(unit.UnitType.GetEquipmentItemsByExclusionGroup(item.MutexGroups), unit.GetEquipment()); listItems.Items.AddRange(items); equipmentAmount.SetUnit(unit); }