Fixed mobile crash
This commit is contained in:
@@ -30,6 +30,8 @@ public class ItemsDisplay extends Table{
|
||||
top().left();
|
||||
margin(0);
|
||||
|
||||
if(items == null) return;
|
||||
|
||||
table(Tex.button, c -> {
|
||||
c.margin(10).marginLeft(12).marginTop(15f);
|
||||
c.marginRight(12f);
|
||||
|
||||
@@ -89,7 +89,7 @@ public class LaunchLoadoutDialog extends BaseDialog{
|
||||
total.clear();
|
||||
selected.requirements().each(total::add);
|
||||
universe.getLaunchResources().each(total::add);
|
||||
valid = sitems.has(total);
|
||||
valid = sitems.has(total) || PlanetDialog.debugSelect;
|
||||
};
|
||||
|
||||
Cons<Table> rebuild = table -> {
|
||||
|
||||
Reference in New Issue
Block a user