changeset 488:c082a312a741

Re #410: Create "N units per M models in parent unit" requirement * Tweak validation failure message for more likely case of multiple children
author IBBoard <dev@ibboard.co.uk>
date Sun, 29 Jul 2012 14:16:14 +0100
parents 248df19652f9
children aac77204ae0e
files API/Objects/Requirement/UnitRequiresNParentModelsForMUnitsRequirement.cs
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/API/Objects/Requirement/UnitRequiresNParentModelsForMUnitsRequirement.cs	Fri Jul 27 20:31:12 2012 +0100
+++ b/API/Objects/Requirement/UnitRequiresNParentModelsForMUnitsRequirement.cs	Sun Jul 29 14:16:14 2012 +0100
@@ -108,7 +108,7 @@
 		{
 			int allowedTypeCount = GetChildCountFromUnit(parentUnit);
 			
-			return String.Format("Army can only contain {0} × {1} as a sub-unit of each {2}, would have {3}", allowedTypeCount, unitType.Name, parentUnit.UnitType.Name, (allowedTypeCount + 1));
+			return String.Format("Army can only contain {0} × {1} as sub-units of each {2}, would have {3}", allowedTypeCount, unitType.Name, parentUnit.UnitType.Name, (allowedTypeCount + 1));
 		}
 
 		protected override string AllowsAddingFailedMessage