mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
flag all team members as cheaters
This commit is contained in:
parent
1cfbe66460
commit
d58c99b47d
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user