Display wonders built in other civs correctly (#6604)

This commit is contained in:
Jack Rainy 2022-04-26 00:26:31 +03:00 committed by GitHub
parent 00b1feb2c2
commit 7d15e3dc53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -179,7 +179,7 @@ class WonderOverviewTab(
val status = when {
viewingPlayer == city.civInfo -> WonderStatus.Owned
viewingPlayer.knows(city.civInfo) -> WonderStatus.Known
else -> WonderStatus.Unknown
else -> WonderStatus.NotFound
}
wonders[index] = WonderInfo(wonderName, CivilopediaCategories.Wonder,
wonders[index].groupName, wonders[index].groupColor,