1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Fix regression

This commit is contained in:
Ivan Savenko 2023-07-12 22:17:46 +03:00
parent fcb13771f3
commit b193f832a5

View File

@ -383,6 +383,9 @@ bool PlayerMessageProcessor::handleCheatCode(const std::string & cheat, PlayerCo
for (const auto & i : gameHandler->gameState()->players)
{
if (words.empty())
break;
if (i.first == PlayerColor::NEUTRAL)
continue;