Mercurial > repos > IBBoard.WarFoundry.Plugin.Rollcall
diff RollcallUnitTypeParser.cs @ 9:5f0259e69a7f
Remove call to add category to unit type because of changes in #32
no-open-ticket
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 15 Mar 2009 16:08:43 +0000 |
parents | 35bc86f8c283 |
children | 9d0d40324494 |
line wrap: on
line diff
--- a/RollcallUnitTypeParser.cs Sat Feb 21 21:00:52 2009 +0000 +++ b/RollcallUnitTypeParser.cs Sun Mar 15 16:08:43 2009 +0000 @@ -48,7 +48,6 @@ throw new InvalidFileException("Attribute 'Category' for "+unitID+" did not match a category"); } - unitType.AddCategory(mainCat); unitType.MainCategory = mainCat; unitType.MaxSize = GetRequiredNumericLine(section, "MaximumSize"); unitType.MinSize = GetNumericLine(section, "MinimumSize", 1);