1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-24 03:47:18 +02:00

translate also cheater message

This commit is contained in:
Laserlicht 2024-05-01 16:06:34 +02:00
parent 812e96ebb1
commit b9c4a56360

View File

@ -42,7 +42,7 @@ void PlayerMessageProcessor::playerMessage(PlayerColor player, const std::string
if (handleCheatCode(message, player, currObj)) if (handleCheatCode(message, player, currObj))
{ {
if(!gameHandler->getPlayerSettings(player)->isControlledByAI()) if(!gameHandler->getPlayerSettings(player)->isControlledByAI())
broadcastSystemMessage(VLC->generaltexth->allTexts[260]); broadcastSystemMessage("~~core.genrltxt.260~~");
if(!player.isSpectator()) if(!player.isSpectator())
gameHandler->checkVictoryLossConditionsForPlayer(player);//Player enter win code or got required art\creature gameHandler->checkVictoryLossConditionsForPlayer(player);//Player enter win code or got required art\creature