From ef43d8a86feb167e1b872e5bab7e27bf200bfe55 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Thu, 12 Oct 2017 20:05:00 +0100 Subject: [PATCH] Add missing StringComparison to IngameChatLogic. --- OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameChatLogic.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameChatLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameChatLogic.cs index d69ae8be1e..ed80b8c02a 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameChatLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameChatLogic.cs @@ -77,7 +77,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic var team = teamChat && !disableTeamChat; if (chatText.Text != "") { - if (!chatText.Text.StartsWith("/")) + if (!chatText.Text.StartsWith("/", StringComparison.Ordinal)) orderManager.IssueOrder(Order.Chat(team, chatText.Text.Trim())); else if (chatTraits != null) {