mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
add broadcast to translation
This commit is contained in:
@@ -3264,7 +3264,11 @@ bool CGameHandler::queryReply(QueryID qid, std::optional<int32_t> answer, Player
|
||||
bool CGameHandler::complain(const std::string &problem)
|
||||
{
|
||||
#ifndef ENABLE_GOLDMASTER
|
||||
playerMessages->broadcastSystemMessage("Server encountered a problem: " + problem);
|
||||
MetaString str;
|
||||
str.appendTextID("vcmi.broadcast.serverproblem");
|
||||
str.appendRawString(": ");
|
||||
str.appendRawString(problem);
|
||||
playerMessages->broadcastSystemMessage(str);
|
||||
#endif
|
||||
logGlobal->error(problem);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user