Code reformat to improve readability and supportiblity whilst addressing issues raised in friarsol's code review

This commit is contained in:
austinio7116
2018-02-27 08:17:48 +00:00
committed by maustin
parent 1b1eb6636d
commit c5c04e762f
4 changed files with 78 additions and 85 deletions

View File

@@ -964,7 +964,7 @@ public class FDeckChooser extends FScreen {
public void run(final Integer numOpponents) {
if (numOpponents == null) { return; }
List<DeckType> deckTypes=null;
if(!FModel.isdeckGenMatrixLoaded()) {
if(FModel.isdeckGenMatrixLoaded()) {
deckTypes=Arrays.asList(new DeckType[] {
DeckType.CUSTOM_DECK,
DeckType.PRECONSTRUCTED_DECK,