Added encapsulation for CampaignState class

This commit is contained in:
Ivan Savenko committed 2023-06-26 17:15:59 +03:00
1 parent 8420a90aa4
commit a08fe09517
12 files changed
+203 -127

No files matched your search

+2 -2
View File
@@ -210,8 +210,8 @@ void ClientCommandManager::handleConvertTextCommand()
for (auto const & campaignName : campaignList)
{
auto state = CampaignHandler::getCampaign(campaignName.getName());
for (auto const & part : state->mapPieces)
state->getMap(part.first);
for (auto const & part : state->allScenarios())
state->getMap(part);
}
VLC->generaltexth->dumpAllTexts();