From c73e78549ee9c4100dfa57ddacf864f4fd582abb Mon Sep 17 00:00:00 2001 From: yairm210 Date: Thu, 21 Nov 2024 19:29:59 +0200 Subject: [PATCH] resolved #12505 - uniques hidden from users do not show icons in tech tree --- .../com/unciv/ui/objectdescriptions/TechnologyDescriptions.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/com/unciv/ui/objectdescriptions/TechnologyDescriptions.kt b/core/src/com/unciv/ui/objectdescriptions/TechnologyDescriptions.kt index e0345d0b8b..51d4b68a38 100644 --- a/core/src/com/unciv/ui/objectdescriptions/TechnologyDescriptions.kt +++ b/core/src/com/unciv/ui/objectdescriptions/TechnologyDescriptions.kt @@ -143,6 +143,7 @@ object TechnologyDescriptions { } for (unique in tech.uniqueObjects) { + if (unique.isHiddenToUsers()) continue yield( when { unique.type == UniqueType.EnablesCivWideStatProduction ->