mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Fix regression
This commit is contained in:
parent
fcb13771f3
commit
b193f832a5
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user