mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
fix draft decks not showing up in quest start combobox
This commit is contained in:
@@ -41,8 +41,6 @@ public enum CSubmenuQuestData implements ICDoc {
|
||||
/** */
|
||||
SINGLETON_INSTANCE;
|
||||
|
||||
|
||||
|
||||
private final Map<String, QuestData> arrQuests = new HashMap<String, QuestData>();
|
||||
|
||||
private final VSubmenuQuestData view = VSubmenuQuestData.SINGLETON_INSTANCE;
|
||||
|
||||
@@ -138,13 +138,11 @@ public enum VSubmenuQuestData implements IVSubmenu<CSubmenuQuestData> {
|
||||
cbxCustomDeck.removeAllItems();
|
||||
CardCollections decks = Singletons.getModel().getDecks();
|
||||
IStorage<DeckGroup> storage = newVal == StartingPoolType.SealedDeck ? decks.getSealed() : decks.getDraft();
|
||||
if (newVal == StartingPoolType.SealedDeck) {
|
||||
for (DeckGroup d : storage) {
|
||||
cbxCustomDeck.addItem(d.getHumanDeck());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
/* Listeners */
|
||||
|
||||
Reference in New Issue
Block a user