diff api/Objects/UnitEquipmentItem.cs @ 204:3ef067225dc3

Fixes #208: equipmentslot limit issues * Construct units properly by using the UnitEquipmentUtil methods to get the actual minimum amount based on the slot limits as well
author IBBoard <dev@ibboard.co.uk>
date Sun, 08 Nov 2009 20:45:45 +0000
parents 12aa4b76d24e
children 7933d852181e
line wrap: on
line diff
--- a/api/Objects/UnitEquipmentItem.cs	Fri Nov 06 20:48:07 2009 +0000
+++ b/api/Objects/UnitEquipmentItem.cs	Sun Nov 08 20:45:45 2009 +0000
@@ -176,7 +176,7 @@
 						limit = minLimit;
 					}
 					else
-					{
+					{
 						limit = new SimpleRoundedPercentageLimit(100, false);
 					}
 				}