This commit is contained in:
Anuken
2020-07-25 10:59:18 -04:00
parent b180462c45
commit ef381cb970
3 changed files with 3 additions and 2 deletions

View File

@@ -189,7 +189,7 @@ public class ResearchDialog extends BaseDialog{
}
boolean locked(TechNode node){
return node.content.locked();
return node.content.locked() || Structs.contains(node.requirements, i -> i.item.locked());
}
class LayoutNode extends TreeNode<LayoutNode>{