Skip to content

Commit

Permalink
Validate VassalNextSide - check that it is an available side, rather …
Browse files Browse the repository at this point in the history
…than just not unavailable.
  • Loading branch information
riverwanderer committed Sep 4, 2023
1 parent 07e3128 commit 007630c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -789,8 +789,10 @@ protected String promptForSide() {
break;
}
}

nextChoice = found ? sides.get(i) : translatedObserver; // This will be our defaulted choice for the dropdown.
}

availableSides.add(0, translatedObserver);

final GameModule g = GameModule.getGameModule();
Expand Down

0 comments on commit 007630c

Please sign in to comment.