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) {
|
||||
if(event.index == cursor)
|
||||
mode = Mode.LIST;
|
||||
if(event.index >= cursor && cursor > 0)
|
||||
if(event.index <= cursor && cursor > 0)
|
||||
cursor--;
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue