From 5e333136b27c2017b246d21bd6ac27d1d06d31ef Mon Sep 17 00:00:00 2001 From: riverwanderer <58135975+riverwanderer@users.noreply.github.com> Date: Sun, 10 Sep 2023 07:56:17 +0100 Subject: [PATCH] Trying to get promptForSide() working with a parameter. --- .../src/main/java/VASSAL/build/module/PlayerRoster.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 e14429560c..3ffa62b9e2 100644 --- a/vassal-app/src/main/java/VASSAL/build/module/PlayerRoster.java +++ b/vassal-app/src/main/java/VASSAL/build/module/PlayerRoster.java @@ -261,8 +261,8 @@ protected void launch() { return; } - String newSide; - newSide = promptForSide(""); + String newSide = null; + newSide = promptForSide(newSide); if ((newSide == null) || newSide.equals(mySide)) { return; }