diff --git a/core/src/mindustry/core/Logic.java b/core/src/mindustry/core/Logic.java index 1f84613165..94b893d9da 100644 --- a/core/src/mindustry/core/Logic.java +++ b/core/src/mindustry/core/Logic.java @@ -387,6 +387,10 @@ public class Logic implements ApplicationListener{ while(node != null){ node.content.unlock(); node = node.parent; + + if((node.content instanceof Item item && state.rules.hiddenBuildItems.contains(item))){ + break; + } } state.rules.researched.add(u.name); diff --git a/gradle.properties b/gradle.properties index dbc8a863d9..98272271fd 100644 --- a/gradle.properties +++ b/gradle.properties @@ -25,4 +25,4 @@ org.gradle.caching=true #used for slow jitpack builds; TODO see if this actually works org.gradle.internal.http.socketTimeout=100000 org.gradle.internal.http.connectionTimeout=100000 -archash=7c34a324fd +archash=b32576ca09