Removed debug code from static BrickColor initializer

This commit is contained in:
Max G 2019-01-31 04:58:10 -06:00 committed by GitHub
parent e3408b8307
commit 65f4b4329b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,20 +40,6 @@ namespace Roblox.DataTypes
static BrickColor() static BrickColor()
{ {
Dictionary<string, int> bcSum = new Dictionary<string, int>();
foreach (BrickColor color in BrickColors.ColorMap)
{
if (bcSum.ContainsKey(color.Name))
{
bcSum[color.Name]++;
}
else
{
bcSum.Add(color.Name, 1);
}
}
ByNumber = BrickColors.ColorMap.ToDictionary(brickColor => brickColor.Number); ByNumber = BrickColors.ColorMap.ToDictionary(brickColor => brickColor.Number);
ByPalette = BrickColors.PaletteMap.Select(number => ByNumber[number]).ToList(); ByPalette = BrickColors.PaletteMap.Select(number => ByNumber[number]).ToList();
} }