changeset 449:ba6c762cdfc3

* Add missing line to Hacks class to add third factory
author IBBoard <dev@ibboard.co.uk>
date Sat, 21 Jan 2012 20:40:28 +0000
parents dbd779cdc0f9
children 8811737baebf
files API/WarFoundryHacks.cs
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/API/WarFoundryHacks.cs	Fri Dec 23 15:36:06 2011 +0000
+++ b/API/WarFoundryHacks.cs	Sat Jan 21 20:40:28 2012 +0000
@@ -27,6 +27,7 @@
 			//Make sure we have the requirement factories - should be controlled by plugins
 			WarFoundryLoader.RegisterRequirementFactory(new UnitRequiresAtLeastNUnitsRequirementFactory());
 			WarFoundryLoader.RegisterRequirementFactory(new UnitRequiresNoMoreThanNOfUnitTypeRequirementFactory());
+			WarFoundryLoader.RegisterRequirementFactory(new UnitRequiresNUnitsForMUnitsRequirementFactory());
 		}
 	}
 }