mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
- Sideboarding: renamed a method to startDeckEdits for clarity.
This commit is contained in:
@@ -526,7 +526,7 @@ public class Deck extends DeckBase {
|
||||
}
|
||||
}
|
||||
|
||||
public void allowDeckEdits() {
|
||||
public void startDeckEdits() {
|
||||
isEdited = true;
|
||||
if (mainEdited.countAll() == 0) {
|
||||
mainEdited.add(main.toFlatList());
|
||||
|
||||
@@ -141,7 +141,7 @@ public class GameNew {
|
||||
boolean useAnte = Singletons.getModel().getPreferences().getPrefBoolean(FPref.UI_ANTE);
|
||||
|
||||
if (Singletons.getModel().getMatch().getPlayedGames().size() != 0) {
|
||||
deck.allowDeckEdits();
|
||||
deck.startDeckEdits();
|
||||
sideboardAndPrepareLibrary(player, deck, canRandomFoil, generator, useAnte);
|
||||
} else {
|
||||
deck.clearDeckEdits();
|
||||
|
||||
Reference in New Issue
Block a user