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:
parent
b3499c54ae
commit
98416acac4
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user