From d7d5ba751094919b4fd1987799bcbfe6c41d5c56 Mon Sep 17 00:00:00 2001 From: Anuken Date: Sat, 7 Jan 2023 13:44:34 -0500 Subject: [PATCH] Fixed #8060 --- core/src/mindustry/core/Logic.java | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/core/src/mindustry/core/Logic.java b/core/src/mindustry/core/Logic.java index 76ea331085..d35071d55b 100644 --- a/core/src/mindustry/core/Logic.java +++ b/core/src/mindustry/core/Logic.java @@ -380,19 +380,6 @@ public class Logic implements ApplicationListener{ public static void researched(Content content){ if(!(content instanceof UnlockableContent u)) return; - //TODO node is wrong for shared tech nodes - var node = u.techNode; - - //unlock all direct dependencies on client, permanently - while(node != null){ - node.content.unlock(); - node = node.parent; - - if(node != null && (node.content instanceof Item item && state.rules.hiddenBuildItems.contains(item))){ - break; - } - } - state.rules.researched.add(u.name); }