mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-15 10:18:26 +07:00
selectedCiv instead of currentCiv, so spectators get a view like the civ they're spectating as
This commit is contained in:
@ -910,7 +910,7 @@ class WorldMapHolder(
|
|||||||
if (scaleX == minZoom)
|
if (scaleX == minZoom)
|
||||||
for (tileGroup in tileGroups.values){
|
for (tileGroup in tileGroups.values){
|
||||||
val tile = tileGroup.tile
|
val tile = tileGroup.tile
|
||||||
if (!worldScreen.viewingCiv.hasExplored(tile)) continue
|
if (!worldScreen.selectedCiv.hasExplored(tile)) continue
|
||||||
val owner = tile.getOwner()
|
val owner = tile.getOwner()
|
||||||
if (owner != null){
|
if (owner != null){
|
||||||
val color = if (tile.isCityCenter()) owner.nation.getInnerColor() else owner.nation.getOuterColor()
|
val color = if (tile.isCityCenter()) owner.nation.getInnerColor() else owner.nation.getOuterColor()
|
||||||
|
Reference in New Issue
Block a user