Fixed sectors not auto-unlocking

This commit is contained in:
Anuken
2020-11-22 22:03:23 -05:00
parent ecea8eab01
commit 8d91a9b014
4 changed files with 2 additions and 12 deletions

View File

@@ -700,11 +700,8 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
if(sector.save != null && sector.info.resources.any()){
stable.table(t -> {
t.add("@sectors.resources").padRight(4);
int idx = 0;
int max = 5;
for(UnlockableContent c : sector.info.resources){
t.image(c.icon(Cicon.small)).padRight(3).size(Cicon.small.size);
//if(++idx % max == 0) t.row();
}
}).padLeft(10f).fillX().row();
}