mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-24 03:53:12 -04:00
Hide cities where wonders are built until city is explored (#6773)
* Hide city on wonder screen until city tile is explored * Forgot to delete commented out line Co-authored-by: OptimizedForDensity <>
This commit is contained in:
parent
c9dc0bae06
commit
574b94e417
@ -178,7 +178,7 @@ class WonderOverviewTab(
|
||||
val index = wonderIndexMap[wonderName]!!
|
||||
val status = when {
|
||||
viewingPlayer == city.civInfo -> WonderStatus.Owned
|
||||
viewingPlayer.knows(city.civInfo) -> WonderStatus.Known
|
||||
viewingPlayer.exploredTiles.contains(city.location) -> WonderStatus.Known
|
||||
else -> WonderStatus.NotFound
|
||||
}
|
||||
wonders[index] = WonderInfo(wonderName, CivilopediaCategories.Wonder,
|
||||
|
Loading…
x
Reference in New Issue
Block a user