Implemented HTTPS checking for web multiplayer, fixed chat jamming all text fields
This commit is contained in:
@@ -49,7 +49,7 @@ public class ChatFragment extends Table implements Fragment{
|
||||
|
||||
//TODO put it in input?
|
||||
update(() -> {
|
||||
if(!Net.active()){
|
||||
if(!Net.active() && chatOpen){
|
||||
hide();
|
||||
}
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ public class MenuFragment implements Fragment{
|
||||
add(new MenuButton("$text.play", group, ui.levels::show));
|
||||
row();
|
||||
|
||||
if(!Vars.gwt) {
|
||||
if(Mindustry.platforms.canJoinGame()) {
|
||||
add(new MenuButton("$text.joingame", group, ui.join::show));
|
||||
row();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user