diff --git a/OpenRA.Mods.RA/ColorPickerPaletteModifier.cs b/OpenRA.Mods.RA/ColorPickerPaletteModifier.cs index 280ed8d019..5fbfa82404 100644 --- a/OpenRA.Mods.RA/ColorPickerPaletteModifier.cs +++ b/OpenRA.Mods.RA/ColorPickerPaletteModifier.cs @@ -6,12 +6,11 @@ * as published by the Free Software Foundation. For more information, * see LICENSE. */ -#endregion - -using System.Drawing; -using OpenRA.Traits; -using System.Collections.Generic; -using OpenRA.FileFormats; +#endregion + +using System.Collections.Generic; +using OpenRA.FileFormats; +using OpenRA.Traits; using OpenRA.Widgets.Delegates; namespace OpenRA.Mods.RA @@ -27,12 +26,13 @@ namespace OpenRA.Mods.RA var info = Rules.Info["world"].Traits.Get(); SplitPlayerPalette = info.SplitRamp; w.WorldRenderer.AddPalette("colorpicker", w.WorldRenderer.GetPalette(info.BasePalette)); - } - - public void AdjustPalette(Dictionary palettes) - { - palettes["colorpicker"] = new Palette(palettes["colorpicker"], - new PlayerColorRemap(LobbyDelegate.CurrentColorPreview1, LobbyDelegate.CurrentColorPreview2, SplitPlayerPalette)); + } + + public void AdjustPalette(Dictionary palettes) + { + palettes["colorpicker"] = new Palette(palettes["colorpicker"], + new PlayerColorRemap(LobbyDelegate.CurrentColorPreview1, + LobbyDelegate.CurrentColorPreview2, SplitPlayerPalette)); } } }