From f030ebf46fabe6fa80ef0af75114293e7d08683d Mon Sep 17 00:00:00 2001 From: riverwanderer <58135975+riverwanderer@users.noreply.github.com> Date: Thu, 7 Sep 2023 15:42:12 +0100 Subject: [PATCH] Corrected an indent level. --- vassal-app/src/main/java/VASSAL/build/module/PlayerRoster.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vassal-app/src/main/java/VASSAL/build/module/PlayerRoster.java b/vassal-app/src/main/java/VASSAL/build/module/PlayerRoster.java index 9cab1b0ffa..d9b44b5cf8 100644 --- a/vassal-app/src/main/java/VASSAL/build/module/PlayerRoster.java +++ b/vassal-app/src/main/java/VASSAL/build/module/PlayerRoster.java @@ -761,7 +761,7 @@ protected String promptForSide() { final ArrayList alreadyTaken = new ArrayList<>(); String newSide = ""; - while (true) { // Loops until a valid side is found (repeats side check to minimuse race condition window) + while (newSide != null) { // Loops until a valid side is found or op is canceled (repeats side check to minimuse race condition window) for (final PlayerInfo p : players) { alreadyTaken.add(p.side);