From 59b8e9bd7681f09814897dc0ba925b99a2305793 Mon Sep 17 00:00:00 2001 From: Oskar Niesen Date: Mon, 15 Jan 2024 10:56:38 -0600 Subject: [PATCH] Spectators receive era notifications again (#10937) --- core/src/com/unciv/logic/civilization/managers/TechManager.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/com/unciv/logic/civilization/managers/TechManager.kt b/core/src/com/unciv/logic/civilization/managers/TechManager.kt index 3cb339b055..97106fb2c8 100644 --- a/core/src/com/unciv/logic/civilization/managers/TechManager.kt +++ b/core/src/com/unciv/logic/civilization/managers/TechManager.kt @@ -410,7 +410,7 @@ class TechManager : IsPartOfGameInfoSerialization { NotificationIcon.Science ) if (civInfo.isMajorCiv()) { - for (knownCiv in civInfo.getKnownCivs()) { + for (knownCiv in civInfo.getKnownCivsWithSpectators()) { knownCiv.addNotification( "[${civInfo.civName}] has entered the [$currentEra]!", NotificationCategory.General, civInfo.civName, NotificationIcon.Science