소스 검색

Removed non needed part of code

George King 7 달 전
부모
커밋
02bae5ef21
1개의 변경된 파일0개의 추가작업 그리고 10개의 파일을 삭제
  1. 0 10
      client/mainmenu/CMainMenu.cpp

+ 0 - 10
client/mainmenu/CMainMenu.cpp

@@ -431,16 +431,6 @@ void CMainMenu::openCampaignScreen(std::string name)
 		return;
 	}
 
-	bool campaignsFound = true;
-	for (auto const & entry : config[name]["items"].Vector())
-	{
-		ResourcePath resourceID(entry["file"].String(), EResType::CAMPAIGN);
-		if(entry["optional"].Bool())
-			continue;
-		if(!CResourceHandler::get()->existsResource(resourceID))
-			campaignsFound = false;
-	}
-
 	ENGINE->windows().createAndPushWindow<CCampaignScreen>(config, name);
 }