mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
increase chat limit
This commit is contained in:
parent
b4b6e256ed
commit
daf1654b69
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ class ChatCtrl extends GuiControl {
|
|||
this.chatHudInput.text.onKeyDown = (e) -> {
|
||||
if (e.keyCode == Key.ENTER) {
|
||||
if (StringTools.trim(this.chatHudInput.text.text) != "") {
|
||||
sendText = '<font color="#F29515">${StringTools.htmlEscape(Settings.highscoreName.substr(0, 20))}:</font> ${StringTools.htmlEscape(this.chatHudInput.text.text.substr(0, 50))}';
|
||||
sendText = '<font color="#F29515">${StringTools.htmlEscape(Settings.highscoreName.substr(0, 30))}:</font> ${StringTools.htmlEscape(this.chatHudInput.text.text.substr(0, 100))}';
|
||||
if (Net.isClient) {
|
||||
NetCommands.sendChatMessage(StringTools.htmlEscape(sendText));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue