瀏覽代碼

add also savegame

Michael 2 年之前
父節點
當前提交
287c0daaff
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      client/lobby/CSelectionBase.cpp

+ 1 - 1
client/lobby/CSelectionBase.cpp

@@ -216,7 +216,7 @@ void InfoCard::changeSelection()
 	flagbox->recreate();
 	labelDifficulty->setText(CGI->generaltexth->arraytxt[142 + mapInfo->mapHeader->difficulty]);
 	iconDifficulty->setSelected(SEL->getCurrentDifficulty());
-	if(SEL->screenType == ESelectionScreen::loadGame)
+	if(SEL->screenType == ESelectionScreen::loadGame || SEL->screenType == ESelectionScreen::saveGame)
 		for(auto & button : iconDifficulty->buttons)
 			button.second->setEnabled(button.first == SEL->getCurrentDifficulty());