mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	Add GUI lock
This commit is contained in:
		| @@ -487,6 +487,7 @@ void ClientCommandManager::printCommandMessage(const std::string &commandMessage | |||||||
|  |  | ||||||
| 	if(currentCallFromIngameConsole) | 	if(currentCallFromIngameConsole) | ||||||
| 	{ | 	{ | ||||||
|  | 		boost::unique_lock<boost::recursive_mutex> un(*CPlayerInterface::pim); | ||||||
| 		if(LOCPLINT && LOCPLINT->cingconsole) | 		if(LOCPLINT && LOCPLINT->cingconsole) | ||||||
| 		{ | 		{ | ||||||
| 			LOCPLINT->cingconsole->print(commandMessage); | 			LOCPLINT->cingconsole->print(commandMessage); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user