Spectators receive era notifications again (#10937)

This commit is contained in:
Oskar Niesen 2024-01-15 10:56:38 -06:00 committed by GitHub
parent b9f44982b9
commit 59b8e9bd76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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