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:
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user