Fixes double auto completion in in-game chat.
This commit is contained in:
@@ -184,6 +184,9 @@ namespace OpenRA.Mods.RA.Widgets.Logic
|
|||||||
if (string.IsNullOrEmpty(chatText.Text))
|
if (string.IsNullOrEmpty(chatText.Text))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
if (chatText.Text.LastOrDefault() == ' ')
|
||||||
|
return false;
|
||||||
|
|
||||||
var suggestion = "";
|
var suggestion = "";
|
||||||
|
|
||||||
if (chatText.Text.StartsWith("/"))
|
if (chatText.Text.StartsWith("/"))
|
||||||
|
|||||||
Reference in New Issue
Block a user