Fix team chat not being marked on remote clients (#3314)

Fixing the lack of stars on the remote client when sending a team/observer message.
This commit didn't modify the necessary lines in replay.cpp:
6aa3b3b
(of which the chat_msg::chat_msg one has already been fixed)

Fixes #3119

(cherry-picked from commit 02bdd17994)
This commit is contained in:
Choicerer 2018-07-05 02:14:55 +02:00 committed by Charles Dang
parent 12c7a950d2
commit bdabd78439

View file

@ -725,7 +725,7 @@ REPLAY_RETURN do_replay_handle(bool one_move)
}
else if (const config &speak = cfg->child("speak"))
{
const std::string &team_name = speak["team_name"];
const std::string &team_name = speak["to_sides"];
const std::string &speaker_name = speak["id"];
const std::string &message = speak["message"];
//if (!preferences::parse_should_show_lobby_join(speaker_name, message)) return;