diff API/WarFoundryHacks.cs @ 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 6345a683fd75
children 81e130f3b85e
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());
 		}
 	}
 }