From 5eadd26f6632bfbb9221c1c6438c97e732b27d85 Mon Sep 17 00:00:00 2001 From: Curtis Shmyr Date: Mon, 12 Oct 2020 13:34:31 -0600 Subject: [PATCH] Set lobby bool display values to start uppercase --- OpenRA.Game/Traits/TraitsInterfaces.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OpenRA.Game/Traits/TraitsInterfaces.cs b/OpenRA.Game/Traits/TraitsInterfaces.cs index 7a428769b2..8e6bf6d79a 100644 --- a/OpenRA.Game/Traits/TraitsInterfaces.cs +++ b/OpenRA.Game/Traits/TraitsInterfaces.cs @@ -548,8 +548,8 @@ namespace OpenRA.Traits { static readonly Dictionary BoolValues = new Dictionary() { - { true.ToString(), "enabled" }, - { false.ToString(), "disabled" } + { true.ToString(), "Enabled" }, + { false.ToString(), "Disabled" } }; public LobbyBooleanOption(string id, string name, string description, bool visible, int displayorder, bool defaultValue, bool locked) @@ -557,7 +557,7 @@ namespace OpenRA.Traits public override string ValueChangedMessage(string playerName, string newValue) { - return playerName + " " + BoolValues[newValue] + " " + Name + "."; + return playerName + " " + BoolValues[newValue].ToLowerInvariant() + " " + Name + "."; } }