From 93721024e102ffe4f18d11da32d83f8959281700 Mon Sep 17 00:00:00 2001 From: RandomityGuy <31925790+RandomityGuy@users.noreply.github.com> Date: Sun, 30 Jun 2024 00:02:02 +0530 Subject: [PATCH] increase chat limit --- src/gui/ChatCtrl.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/ChatCtrl.hx b/src/gui/ChatCtrl.hx index 8e29f74b..8a0762a5 100644 --- a/src/gui/ChatCtrl.hx +++ b/src/gui/ChatCtrl.hx @@ -85,7 +85,7 @@ class ChatCtrl extends GuiControl { this.chatHudInput.text.onKeyDown = (e) -> { if (e.keyCode == Key.ENTER) { if (StringTools.trim(this.chatHudInput.text.text) != "") { - sendText = '${StringTools.htmlEscape(Settings.highscoreName.substr(0, 20))}: ${StringTools.htmlEscape(this.chatHudInput.text.text.substr(0, 50))}'; + sendText = '${StringTools.htmlEscape(Settings.highscoreName.substr(0, 30))}: ${StringTools.htmlEscape(this.chatHudInput.text.text.substr(0, 100))}'; if (Net.isClient) { NetCommands.sendChatMessage(StringTools.htmlEscape(sendText)); }