mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +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