Misc. cleanup

This commit is contained in:
Anuken
2019-01-20 15:21:46 -05:00
parent 46dfa064d0
commit cbdce79d7d
6 changed files with 63 additions and 30 deletions
@@ -77,7 +77,7 @@ public class TechTreeDialog extends FloatingDialog{
if(!locked) node.visible = true;
for(TreeNode child : node.children){
TechTreeNode l = (TechTreeNode)child;
l.visible = !locked;
l.visible = !locked && l.node.block.isVisible();
checkNodes(l);
}
}
@@ -33,7 +33,7 @@ public class PlacementFragment extends Fragment{
final int rowWidth = 4;
Array<Block> returnArray = new Array<>();
Category currentCategory = Category.turret;
Category currentCategory = Category.distribution;
Block hovered, lastDisplay;
Tile hoverTile;
Table blockTable, toggler, topTable;