mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-11-19 03:53:03 +01:00
new color format logic
This commit is contained in:
1 parent
894dbcbde5
commit
78ce22796e
4 files changed
+97
-67
No files matched your search
@@ -1637,7 +1637,7 @@ void ClientConnection::handleChat(shared_ptr<ChatPacket> packet)
|
||||
message = packet->m_stringArgs[0];
|
||||
|
||||
message = app.EscapeHTMLString(message); //do this to enforce escaped string
|
||||
message = app.FormatChatMessage(message); //this needs to be last cause it converts colors to html colors that would have been escaped
|
||||
message = app.FormatColoredString(message); //this needs to be last cause it converts colors to html colors that would have been escaped
|
||||
} else {
|
||||
message = L"";
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user