From 1d358a3c847f1eb65e7434ddfc53c8106b18dc3b Mon Sep 17 00:00:00 2001 From: Anuken Date: Tue, 13 Jun 2023 09:29:21 -0400 Subject: [PATCH] Show locked item names --- core/src/mindustry/game/Objectives.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/game/Objectives.java b/core/src/mindustry/game/Objectives.java index af420636b6..f50c8c0ca1 100644 --- a/core/src/mindustry/game/Objectives.java +++ b/core/src/mindustry/game/Objectives.java @@ -26,7 +26,7 @@ public class Objectives{ public String display(){ return Core.bundle.format("requirement.research", //TODO broken for multi tech nodes. - (content.techNode == null || content.techNode.parent == null || content.techNode.parent.content.unlocked()) && !(content instanceof Item) ? + (content.techNode == null || content.techNode.parent == null || content.techNode.parent.content.unlocked()) ? (content.emoji() + " " + content.localizedName) : "???"); } }