mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
Fix so deck saved with quick gauntlet
This commit is contained in:
@@ -130,10 +130,10 @@ public enum CSubmenuGauntletQuick implements ICDoc {
|
|||||||
final GauntletData gd = FModel.getGauntletData();
|
final GauntletData gd = FModel.getGauntletData();
|
||||||
gd.setDecks(lstGauntletDecks);
|
gd.setDecks(lstGauntletDecks);
|
||||||
gd.setEventNames(lstEventNames);
|
gd.setEventNames(lstEventNames);
|
||||||
|
gd.setUserDeck(userDeck);
|
||||||
|
|
||||||
// Reset all variable fields to 0, stamps and saves automatically.
|
// Reset all variable fields to 0, stamps and saves automatically.
|
||||||
gd.reset();
|
gd.reset();
|
||||||
gd.setUserDeck(userDeck);
|
|
||||||
|
|
||||||
final Deck aiDeck = gd.getDecks().get(gd.getCompleted());
|
final Deck aiDeck = gd.getDecks().get(gd.getCompleted());
|
||||||
|
|
||||||
|
|||||||
@@ -51,7 +51,6 @@ public final class GauntletData {
|
|||||||
this.completed = 0;
|
this.completed = 0;
|
||||||
this.stamp();
|
this.stamp();
|
||||||
this.eventRecords.clear();
|
this.eventRecords.clear();
|
||||||
this.userDeck = null;
|
|
||||||
|
|
||||||
for (int i = 0; i < decks.size(); i++) {
|
for (int i = 0; i < decks.size(); i++) {
|
||||||
this.eventRecords.add("");
|
this.eventRecords.add("");
|
||||||
|
|||||||
Reference in New Issue
Block a user