selectedCiv instead of currentCiv, so spectators get a view like the civ they're spectating as

This commit is contained in:
Yair Morgenstern
2024-04-25 11:12:51 +03:00
parent 785fc6d148
commit 3aa9be9e9e

View File

@ -910,7 +910,7 @@ class WorldMapHolder(
if (scaleX == minZoom)
for (tileGroup in tileGroups.values){
val tile = tileGroup.tile
if (!worldScreen.viewingCiv.hasExplored(tile)) continue
if (!worldScreen.selectedCiv.hasExplored(tile)) continue
val owner = tile.getOwner()
if (owner != null){
val color = if (tile.isCityCenter()) owner.nation.getInnerColor() else owner.nation.getOuterColor()