mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-17 00:07:41 +02:00
code review
This commit is contained in:
@ -685,7 +685,7 @@ void CServerHandler::startCampaignScenario(std::shared_ptr<CampaignState> cs)
|
||||
{
|
||||
if(ourCampaign->campaignSet != "")
|
||||
{
|
||||
Settings entry = persistent.write["campaign"][ourCampaign->campaignSet][ourCampaign->getFilename()]["completed"];
|
||||
Settings entry = persistentStorage.write["completedCampaigns"][ourCampaign->getFilename()];
|
||||
entry->Bool() = true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user