changeset 70:a8667ab60362

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:55:13 +0000
parents ff80ed9ac50f
children 74d3efaac800
files FrmReplaceUnitEquipment.cs
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/FrmReplaceUnitEquipment.cs	Sat Sep 26 19:51:34 2009 +0000
     1.2 +++ b/FrmReplaceUnitEquipment.cs	Sat Sep 26 19:55:13 2009 +0000
     1.3 @@ -40,7 +40,7 @@
     1.4  			oldItem = item;
     1.5  			InitializeComponent();
     1.6  			this.Text = "Replace " + item.EquipmentItem.Name + " with new equipment";
     1.7 -			object[] items = Arrays.Subtract(unit.UnitType.GetEquipmentItemsByExclusionGroup(item.MutexGroups), unit.GetEquipment());
     1.8 +			object[] items = Arrays.Subtract(unit.UnitType.GetEquipmentItemsByExclusionGroups(item.MutexGroups), unit.GetEquipment());
     1.9  			listItems.Items.AddRange(items);
    1.10  			equipmentAmount.SetUnit(unit);
    1.11  		}