mirror of
https://github.com/yairm210/Unciv.git
synced 2025-03-03 22:22:51 +07:00
Resolved #2407 - reveal all civs when won or lost
This commit is contained in:
parent
b441d537a5
commit
50f79f5a3a
@ -115,10 +115,7 @@ class TileMap {
|
||||
}.filterNotNull()
|
||||
|
||||
/** Tries to place the [unitName] into the [TileInfo] closest to the given the [position]
|
||||
*
|
||||
* @param civInfo civilization to assign unit to
|
||||
* @param removeImprovement True if the improvement of [TileInfo] unit is placed into should be deleted
|
||||
*
|
||||
* @return created [MapUnit] or null if no suitable location was found
|
||||
* */
|
||||
fun placeUnitNearTile(
|
||||
|
@ -578,7 +578,8 @@ class EmpireOverviewScreen(private val viewingPlayer:CivilizationInfo) : CameraS
|
||||
civGroup.add(ImageGetter.getImage("OtherIcons/DisbandUnit")).size(30f)
|
||||
backgroundColor = Color.LIGHT_GRAY
|
||||
labelColor = Color.BLACK
|
||||
} else if (currentPlayer==civ || UncivGame.Current.viewEntireMapForDebug || currentPlayer.knows(civ)) {
|
||||
} else if (currentPlayer==civ || UncivGame.Current.viewEntireMapForDebug
|
||||
|| currentPlayer.knows(civ) || currentPlayer.isDefeated() || currentPlayer.victoryManager.hasWon()) {
|
||||
civGroup.add(ImageGetter.getNationIndicator(civ.nation, 30f))
|
||||
backgroundColor = civ.nation.getOuterColor()
|
||||
labelColor = civ.nation.getInnerColor()
|
||||
|
Loading…
Reference in New Issue
Block a user