1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

flag all team members as cheaters

This commit is contained in:
Laserlicht
2023-12-08 20:13:32 +01:00
committed by GitHub
parent 1cfbe66460
commit d58c99b47d

View File

@ -378,6 +378,10 @@ void PlayerMessageProcessor::cheatPuzzleReveal(PlayerColor player)
for(const auto & color : t->players)
{
gameHandler->setObjPropertyID(obj->id, ObjProperty::VISITED, color);
PlayerCheated pc;
pc.player = color;
gameHandler->sendAndApply(&pc);
}
}
}