- fixed output of localized player's log text to console

This commit is contained in:
alexey.lysiuk 2019-02-05 11:56:20 +02:00
parent 8892cb619d
commit 7a46d6e9cd

View file

@ -442,7 +442,7 @@ void player_t::SetLogText (const char *text)
{
// Print log text to console
AddToConsole(-1, TEXTCOLOR_GOLD);
AddToConsole(-1, GStrings(LogText));
AddToConsole(-1, GStrings(text[0] == '$' ? text + 1 : text));
AddToConsole(-1, "\n");
}
}