Add missing StringComparison to IngameChatLogic.
This commit is contained in:
@@ -77,7 +77,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
|||||||
var team = teamChat && !disableTeamChat;
|
var team = teamChat && !disableTeamChat;
|
||||||
if (chatText.Text != "")
|
if (chatText.Text != "")
|
||||||
{
|
{
|
||||||
if (!chatText.Text.StartsWith("/"))
|
if (!chatText.Text.StartsWith("/", StringComparison.Ordinal))
|
||||||
orderManager.IssueOrder(Order.Chat(team, chatText.Text.Trim()));
|
orderManager.IssueOrder(Order.Chat(team, chatText.Text.Trim()));
|
||||||
else if (chatTraits != null)
|
else if (chatTraits != null)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user