1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00

Hide error messages from server in goldmaster mode

This commit is contained in:
Ivan Savenko 2024-04-25 18:52:53 +03:00
parent b3499c54ae
commit 98416acac4

View File

@ -3389,7 +3389,9 @@ void CGameHandler::handleTownEvents(CGTownInstance * town, NewTurn &n)
bool CGameHandler::complain(const std::string &problem)
{
#ifndef ENABLE_GOLDMASTER
playerMessages->broadcastSystemMessage("Server encountered a problem: " + problem);
#endif
logGlobal->error(problem);
return true;
}