mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-04 22:50:29 +07:00
this turned out to be pretty difficult
This commit is contained in:
parent
48d568978b
commit
a3270dd908
@ -24,6 +24,8 @@ import mindustry.ui.*;
|
||||
import static mindustry.Vars.*;
|
||||
|
||||
public class JoinDialog extends BaseDialog{
|
||||
//TODO unused
|
||||
Seq<Host> commmunityHosts = new Seq<>();
|
||||
Seq<Server> servers = new Seq<>();
|
||||
Dialog add;
|
||||
Server renaming;
|
||||
@ -358,6 +360,7 @@ public class JoinDialog extends BaseDialog{
|
||||
}
|
||||
|
||||
void refreshCommunity(){
|
||||
commmunityHosts.clear();
|
||||
int cur = refreshes;
|
||||
|
||||
global.clear();
|
||||
@ -378,6 +381,8 @@ public class JoinDialog extends BaseDialog{
|
||||
if(refreshes != cur) return;
|
||||
res.port = resport;
|
||||
|
||||
commmunityHosts.add(res);
|
||||
|
||||
//add header
|
||||
if(groupTable[0] == null){
|
||||
global.table(t -> groupTable[0] = t).row();
|
||||
|
Loading…
Reference in New Issue
Block a user