diff --git a/OpenRA.Mods.Common/Widgets/Logic/ServerCreationLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/ServerCreationLogic.cs index aedd5ba2c7..386060a314 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/ServerCreationLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/ServerCreationLogic.cs @@ -154,9 +154,9 @@ namespace OpenRA.Mods.Common.Widgets.Logic noticesLabelB.Text = status == UPnPStatus.Enabled ? "Enabled" : status == UPnPStatus.NotSupported ? "Not Supported" : "Disabled"; - noticesLabelB.TextColor = status == UPnPStatus.Enabled ? ChromeMetrics.Get("UPnPEnabledColor") : - status == UPnPStatus.NotSupported ? ChromeMetrics.Get("UPnPNotSupportedColor") : - ChromeMetrics.Get("UPnPDisabledColor"); + noticesLabelB.TextColor = status == UPnPStatus.Enabled ? ChromeMetrics.Get("NoticeSuccessColor") : + status == UPnPStatus.NotSupported ? ChromeMetrics.Get("NoticeErrorColor") : + ChromeMetrics.Get("NoticeInfoColor"); var bWidth = Game.Renderer.Fonts[noticesLabelB.Font].Measure(noticesLabelB.Text).X; noticesLabelB.Bounds.X = noticesLabelA.Bounds.Right; diff --git a/mods/common/metrics.yaml b/mods/common/metrics.yaml index 376c3a56f2..ed8b9890fe 100644 --- a/mods/common/metrics.yaml +++ b/mods/common/metrics.yaml @@ -42,9 +42,6 @@ Metrics: TextfieldColorHighlight: 195BC4 TextfieldFont: Regular WaitingGameColor: 00FF00 - UPnPDisabledColor: FFFFFF - UPnPEnabledColor: 00FF00 - UPnPNotSupportedColor: FF0000 NoticeInfoColor: FFFFFF NoticeWarningColor: FFA500 NoticeSuccessColor: 00FF00