Fix double-escape in the lobby chat.

This was SVN commit r16298.
This commit is contained in:
leper 2015-02-08 17:37:33 +00:00
parent 75d295b25e
commit 6bdd912146

View File

@ -743,7 +743,7 @@ function onTick()
function submitChatInput()
{
var input = Engine.GetGUIObjectByName("chatInput");
var text = escapeText(input.caption);
var text = input.caption;
if (text.length)
{
if (!handleSpecialCommand(text) && !isSpam(text, g_Name))