Added encapsulation for CampaignState class
This commit is contained in:
1 parent
8420a90aa4
commit
a08fe09517
12 files changed
+203
-127
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user