make playerselector handle PlayerLeftView better, fix clientboot bug
Some checks failed
/ Build BaseBand Loader (push) Waiting to run
/ Build BaseBand DSM & Broadway (push) Has been cancelled

This commit is contained in:
Daniella / Tove 2024-06-25 21:55:36 +02:00
parent 3e63b7ac17
commit 46f1193d32
Signed by: TudbuT
GPG key ID: B3CF345217F202D3
2 changed files with 2 additions and 1 deletions

View file

@ -120,7 +120,7 @@ public class PlayerSelector extends Feature {
public void onPlayerLeftView(PlayerLeftViewEvent event) {
if(event.index == cursor)
mode = Mode.LIST;
if(event.index >= cursor && cursor > 0)
if(event.index <= cursor && cursor > 0)
cursor--;
}

View file

@ -188,6 +188,7 @@ public class Loader implements Util {
x1.data.set("do-not-join", new TCNArray());
else
x1.data.set("do-not-join", new TCNArray(Arrays.asList(list.split(", *"))));
x1.focus();
})
.option("Back", ClientBoot::back);
})