mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-06 00:08:10 +07:00
commmunityHosts (#6697)
This commit is contained in:
@ -25,7 +25,7 @@ import static mindustry.Vars.*;
|
|||||||
|
|
||||||
public class JoinDialog extends BaseDialog{
|
public class JoinDialog extends BaseDialog{
|
||||||
//TODO unused
|
//TODO unused
|
||||||
Seq<Host> commmunityHosts = new Seq<>();
|
Seq<Host> communityHosts = new Seq<>();
|
||||||
Seq<Server> servers = new Seq<>();
|
Seq<Server> servers = new Seq<>();
|
||||||
Dialog add;
|
Dialog add;
|
||||||
Server renaming;
|
Server renaming;
|
||||||
@ -360,7 +360,7 @@ public class JoinDialog extends BaseDialog{
|
|||||||
}
|
}
|
||||||
|
|
||||||
void refreshCommunity(){
|
void refreshCommunity(){
|
||||||
commmunityHosts.clear();
|
communityHosts.clear();
|
||||||
int cur = refreshes;
|
int cur = refreshes;
|
||||||
|
|
||||||
global.clear();
|
global.clear();
|
||||||
@ -382,7 +382,7 @@ public class JoinDialog extends BaseDialog{
|
|||||||
if(refreshes != cur) return;
|
if(refreshes != cur) return;
|
||||||
res.port = resport;
|
res.port = resport;
|
||||||
|
|
||||||
commmunityHosts.add(res);
|
communityHosts.add(res);
|
||||||
|
|
||||||
//add header
|
//add header
|
||||||
if(groupTable[0] == null){
|
if(groupTable[0] == null){
|
||||||
|
Reference in New Issue
Block a user