Removed debug code from static BrickColor initializer
This commit is contained in:
parent
e3408b8307
commit
65f4b4329b
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user