mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	Merge pull request #3455 from Laserlicht/campaign_completion
fix campaign completion
This commit is contained in:
		| @@ -729,7 +729,7 @@ void CServerHandler::startCampaignScenario(HighScoreParameter param, std::shared | ||||
| 		auto & epilogue = ourCampaign->scenario(*ourCampaign->lastScenario()).epilog; | ||||
| 		auto finisher = [=]() | ||||
| 		{ | ||||
| 			if(ourCampaign->campaignSet != "") | ||||
| 			if(ourCampaign->campaignSet != "" && ourCampaign->isCampaignFinished()) | ||||
| 			{ | ||||
| 				Settings entry = persistentStorage.write["completedCampaigns"][ourCampaign->getFilename()]; | ||||
| 				entry->Bool() = true; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user