mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
Fixed "preload bar stuck on 4-color case" in constructed submenu.
This commit is contained in:
@@ -498,11 +498,19 @@ public class ControlConstructed {
|
|||||||
|
|
||||||
// Check color-based deck selection for appropriate length
|
// Check color-based deck selection for appropriate length
|
||||||
if (currentHumanSelection.getName().equals("lstColorsHuman")) {
|
if (currentHumanSelection.getName().equals("lstColorsHuman")) {
|
||||||
if (!checkValidityOfHumanSelectedColors(humanSelected)) { return; }
|
if (!checkValidityOfHumanSelectedColors(humanSelected)) {
|
||||||
|
view.getBarProgress().setVisible(false);
|
||||||
|
view.getBtnStart().setVisible(true);
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (currentAISelection.getName().equals("lstColorsAI")) {
|
if (currentAISelection.getName().equals("lstColorsAI")) {
|
||||||
if (!checkValidityOfAISelectedColors(aiSelected)) { return; }
|
if (!checkValidityOfAISelectedColors(aiSelected)) {
|
||||||
|
view.getBarProgress().setVisible(false);
|
||||||
|
view.getBtnStart().setVisible(true);
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
generateAIDecks(aiSelected);
|
generateAIDecks(aiSelected);
|
||||||
|
|||||||
Reference in New Issue
Block a user