Browse Source

Revert CamCust change

George King 8 months ago
parent
commit
dcea840626
1 changed files with 1 additions and 7 deletions
  1. 1 7
      client/lobby/CSelectionBase.cpp

+ 1 - 7
client/lobby/CSelectionBase.cpp

@@ -92,13 +92,7 @@ CSelectionBase::CSelectionBase(ESelectionScreen type)
 	pos.h = 584;
 	if(screenType == ESelectionScreen::campaignList)
 	{
-		//setBackground(ImagePath::builtin("CamCust.bmp"));
-
-		const JsonNode& gameSelectConfig = CMainMenuConfig::get().getConfig()["campaign-selection"];
-		const JsonVector& bgNames = gameSelectConfig["background"].Vector();
-
-		setBackground(ImagePath::fromJson(*RandomGeneratorUtil::nextItem(bgNames, CRandomGenerator::getDefault())));
-
+		setBackground(ImagePath::builtin("CamCust.bmp"));
 		pos = background->center();
 	}
 	else