mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-29 15:01:09 -04:00
Fadeout for potentially workable tiles currently being worked by another city
Mint icon looks much nicer
This commit is contained in:
parent
0eb79fff82
commit
b309cac67b
Binary file not shown.
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 4.6 KiB |
Binary file not shown.
Before Width: | Height: | Size: 891 KiB After Width: | Height: | Size: 893 KiB |
@ -43,6 +43,7 @@ class CityTileGroup(private val city: CityInfo, tileInfo: TileInfo, tileSetStrin
|
|||||||
city.civInfo.cities.filterNot { it == city } // worked by another city
|
city.civInfo.cities.filterNot { it == city } // worked by another city
|
||||||
.any { it.workedTiles.contains(tileInfo.position) } -> {
|
.any { it.workedTiles.contains(tileInfo.position) } -> {
|
||||||
// Don't fade out, but don't add a population icon either.
|
// Don't fade out, but don't add a population icon either.
|
||||||
|
baseLayerGroup.color.a = 0.5f
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user