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 wrap: on
line diff
--- 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);
 		}