changeset 75:bdd10c56a917

Re #190: Mutex groups aren't honoured when adding equipment * Change to use new method name (since equipment is no longer split into "required" and "optional") no-open-ticket
author IBBoard <dev@ibboard.co.uk>
date Tue, 29 Sep 2009 19:51:32 +0000
parents f1b7a08a8f6f
children f2006db02ad9
files FrmNewUnitEquipment.cs
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/FrmNewUnitEquipment.cs	Mon Sep 28 19:56:50 2009 +0000
+++ b/FrmNewUnitEquipment.cs	Tue Sep 29 19:51:32 2009 +0000
@@ -40,7 +40,7 @@
 			this.unit = unit;
 			InitializeComponent();
 			this.Text = "New equipment for " + unit.Name;
-			object[] items = Arrays.Subtract(unit.GetAllowedOptionalEquipment(), unit.GetEquipment());
+			object[] items = Arrays.Subtract(unit.GetAllowedAdditionalEquipment(), unit.GetEquipment());
 			listItems.Items.AddRange(items);
 			equipmentAmount.SetUnit(unit);
 		}