mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 18:38:26 +00:00
Fix RTL chat messages being colored randomly.
This commit is contained in:
parent
a4bcaa6fcf
commit
dda1afa0e7
@ -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]);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user