Fixed 'unlocks' dialog entries
This commit is contained in:
@@ -64,7 +64,7 @@ public class UI implements ApplicationListener{
|
||||
public TraceDialog traces;
|
||||
public ChangelogDialog changelog;
|
||||
public LocalPlayerDialog localplayers;
|
||||
public DatabaseDialog unlocks;
|
||||
public DatabaseDialog database;
|
||||
public ContentInfoDialog content;
|
||||
public DeployDialog deploy;
|
||||
public TechTreeDialog tech;
|
||||
@@ -165,7 +165,7 @@ public class UI implements ApplicationListener{
|
||||
load = new LoadDialog();
|
||||
levels = new CustomGameDialog();
|
||||
language = new LanguageDialog();
|
||||
unlocks = new DatabaseDialog();
|
||||
database = new DatabaseDialog();
|
||||
settings = new SettingsMenuDialog();
|
||||
host = new HostDialog();
|
||||
paused = new PausedDialog();
|
||||
|
||||
@@ -40,7 +40,7 @@ public class PausedDialog extends FloatingDialog{
|
||||
cont.addButton("$back", this::hide).colspan(2).width(dw*2 + 20f);
|
||||
|
||||
cont.row();
|
||||
cont.addButton("$unlocks", ui.unlocks::show);
|
||||
cont.addButton("database", ui.database::show);
|
||||
cont.addButton("$settings", ui.settings::show);
|
||||
|
||||
if(!world.isZone()){
|
||||
|
||||
@@ -87,7 +87,7 @@ public class HudFragment extends Fragment{
|
||||
ui.chatfrag.toggle();
|
||||
}
|
||||
}else{
|
||||
ui.unlocks.show();
|
||||
ui.database.show();
|
||||
}
|
||||
}).update(i -> {
|
||||
if(Net.active() && mobile){
|
||||
|
||||
@@ -62,7 +62,7 @@ public class MenuFragment extends Fragment{
|
||||
join = new MobileButton("icon-add", isize, "$joingame", ui.join::show),
|
||||
editor = new MobileButton("icon-editor", isize, "$editor", () -> ui.loadAnd(ui.editor::show)),
|
||||
tools = new MobileButton("icon-tools", isize, "$settings", ui.settings::show),
|
||||
unlocks = new MobileButton("icon-unlocks", isize, "$unlocks", ui.unlocks::show),
|
||||
unlocks = new MobileButton("icon-unlocks", isize, "database", ui.database::show),
|
||||
donate = new MobileButton("icon-donate", isize, "$donate", Platform.instance::openDonations);
|
||||
|
||||
if(Core.graphics.getWidth() > Core.graphics.getHeight()){
|
||||
|
||||
Reference in New Issue
Block a user