1
0
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:
Laserlicht 2023-12-08 20:13:32 +01:00 committed by GitHub
parent 1cfbe66460
commit d58c99b47d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);
}
}
}