make playerselector handle PlayerLeftView better, fix clientboot bug
This commit is contained in:
parent
3e63b7ac17
commit
46f1193d32
2 changed files with 2 additions and 1 deletions
|
@ -120,7 +120,7 @@ public class PlayerSelector extends Feature {
|
||||||
public void onPlayerLeftView(PlayerLeftViewEvent event) {
|
public void onPlayerLeftView(PlayerLeftViewEvent event) {
|
||||||
if(event.index == cursor)
|
if(event.index == cursor)
|
||||||
mode = Mode.LIST;
|
mode = Mode.LIST;
|
||||||
if(event.index >= cursor && cursor > 0)
|
if(event.index <= cursor && cursor > 0)
|
||||||
cursor--;
|
cursor--;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -188,6 +188,7 @@ public class Loader implements Util {
|
||||||
x1.data.set("do-not-join", new TCNArray());
|
x1.data.set("do-not-join", new TCNArray());
|
||||||
else
|
else
|
||||||
x1.data.set("do-not-join", new TCNArray(Arrays.asList(list.split(", *"))));
|
x1.data.set("do-not-join", new TCNArray(Arrays.asList(list.split(", *"))));
|
||||||
|
x1.focus();
|
||||||
})
|
})
|
||||||
.option("Back", ClientBoot::back);
|
.option("Back", ClientBoot::back);
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue