mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-14 16:49:15 +00:00
fix teamchat not marked #3119
(cherry-picked from commit 25840c8a4bdfa1bd7b93069ba9fc2562eca39910)
This commit is contained in:
parent
758fe79fe2
commit
9aef0f923e
@ -145,8 +145,7 @@ chat_msg::chat_msg(const config &cfg)
|
||||
, nick_()
|
||||
, text_(cfg["message"].str())
|
||||
{
|
||||
const std::string& team_name = cfg["team_name"];
|
||||
if(team_name.empty())
|
||||
if(cfg["team_name"].empty() && cfg["to_sides"].empty())
|
||||
{
|
||||
nick_ = cfg["id"].str();
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user