diff --git a/OpenRA.Mods.Cnc/Widgets/Logic/CncLobbyLogic.cs b/OpenRA.Mods.Cnc/Widgets/Logic/CncLobbyLogic.cs index 92e262042c..206fcc7eee 100644 --- a/OpenRA.Mods.Cnc/Widgets/Logic/CncLobbyLogic.cs +++ b/OpenRA.Mods.Cnc/Widgets/Logic/CncLobbyLogic.cs @@ -381,16 +381,17 @@ namespace OpenRA.Mods.Cnc.Widgets.Logic { Action onSelect = c => { - Game.Settings.Player.ColorRamp = c; - Game.Settings.Save(); + if (client.Bot == null) + { + Game.Settings.Player.ColorRamp = c; + Game.Settings.Save(); + } + color.RemovePanel(); orderManager.IssueOrder(Order.Command("color {0} {1}".F(client.Index, c))); }; - Action onChange = c => - { - PlayerPalettePreview.Ramp = c; - }; + Action onChange = c => PlayerPalettePreview.Ramp = c; var colorChooser = Game.LoadWidget(orderManager.world, "COLOR_CHOOSER", null, new WidgetArgs() {