mirror of
https://github.com/glest/glest-source.git
synced 2025-09-02 12:32:34 +02:00
bugfix, do not reset selected factions if there is only 1 techtree
This commit is contained in:
@@ -1231,7 +1231,7 @@ void MenuStateCustomGame::mouseClick(int x, int y, MouseButton mouseButton) {
|
||||
}
|
||||
}
|
||||
else if(listBoxTechTree.mouseClick(x, y,advanceToItemStartingWith)){
|
||||
reloadFactions(false,(checkBoxScenario.getValue() == true ? scenarioFiles[listBoxScenario.getSelectedItemIndex()] : ""));
|
||||
reloadFactions(listBoxTechTree.getItemCount() <= 1,(checkBoxScenario.getValue() == true ? scenarioFiles[listBoxScenario.getSelectedItemIndex()] : ""));
|
||||
|
||||
MutexSafeWrapper safeMutex((publishToMasterserverThread != NULL ? publishToMasterserverThread->getMutexThreadObjectAccessor() : NULL),string(__FILE__) + "_" + intToStr(__LINE__));
|
||||
|
||||
|
Reference in New Issue
Block a user