diff --git a/client/lobby/SelectionTab.cpp b/client/lobby/SelectionTab.cpp index 989fd7542..051e37deb 100644 --- a/client/lobby/SelectionTab.cpp +++ b/client/lobby/SelectionTab.cpp @@ -809,7 +809,7 @@ void SelectionTab::parseSaves(const std::unordered_set & files) switch(CSH->getLoadMode()) { case ELoadMode::SINGLE: - if(isMultiplayer || isCampaign || isTutorial) + if(isCampaign || isTutorial) mapInfo->mapHeader.reset(); break; case ELoadMode::CAMPAIGN: @@ -820,10 +820,14 @@ void SelectionTab::parseSaves(const std::unordered_set & files) if(!isTutorial) mapInfo->mapHeader.reset(); break; - default: + case ELoadMode::MULTI: if(!isMultiplayer) mapInfo->mapHeader.reset(); break; + default: + assert(0); + mapInfo->mapHeader.reset(); + break; } allItems.push_back(mapInfo);