mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
Fix Net Decks in Deck Editor
This commit is contained in:
@@ -47,6 +47,7 @@ public class NetDeckCategory extends StorageBase<Deck> {
|
||||
switch (gameType) {
|
||||
case Constructed:
|
||||
case Gauntlet:
|
||||
case DeckEditorTest:
|
||||
if (constructed == null) {
|
||||
constructed = loadCategories(ForgeConstants.NET_DECKS_LIST_FILE);
|
||||
}
|
||||
@@ -79,7 +80,7 @@ public class NetDeckCategory extends StorageBase<Deck> {
|
||||
return category;
|
||||
}
|
||||
|
||||
final NetDeckCategory c= SGuiChoose.oneOrNone("Select a Net Deck category", categories.values());
|
||||
final NetDeckCategory c = SGuiChoose.oneOrNone("Select a Net Deck category", categories.values());
|
||||
if (c == null) { return null; }
|
||||
|
||||
if (c.map.isEmpty()) { //only download decks once per session
|
||||
|
||||
Reference in New Issue
Block a user