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 diff
     1.1 --- a/FrmNewUnitEquipment.cs	Mon Sep 28 19:56:50 2009 +0000
     1.2 +++ b/FrmNewUnitEquipment.cs	Tue Sep 29 19:51:32 2009 +0000
     1.3 @@ -40,7 +40,7 @@
     1.4  			this.unit = unit;
     1.5  			InitializeComponent();
     1.6  			this.Text = "New equipment for " + unit.Name;
     1.7 -			object[] items = Arrays.Subtract(unit.GetAllowedOptionalEquipment(), unit.GetEquipment());
     1.8 +			object[] items = Arrays.Subtract(unit.GetAllowedAdditionalEquipment(), unit.GetEquipment());
     1.9  			listItems.Items.AddRange(items);
    1.10  			equipmentAmount.SetUnit(unit);
    1.11  		}