Fix RTL chat messages being colored randomly.

This commit is contained in:
shavit 2018-01-26 05:57:09 +02:00
parent a4bcaa6fcf
commit dda1afa0e7

View File

@ -363,6 +363,7 @@ public Action CP_OnChatMessage(int &author, ArrayList recipients, char[] flagstr
// proper colors with rtler
if(gB_RTLer && RTLify(sTemp, MAXLENGTH_MESSAGE, message) > 0)
{
TrimString(message);
Format(message, MAXLENGTH_MESSAGE, "%s%s", message, gS_CustomMessage[author]);
}