Killed that fail TechTree, and added a new one to Rules.

This commit is contained in:
Bob
2009-10-30 09:04:33 +13:00
parent 7b28ab7979
commit 6306690730
16 changed files with 133 additions and 272 deletions

View File

@@ -29,7 +29,7 @@ namespace OpenRa.Game.GameRules
return x;
else if (fieldType.IsEnum)
return Enum.Parse(fieldType, x);
return Enum.Parse(fieldType, x, true);
else if (fieldType == typeof(bool))
return ParseYesNo(x);