City screen displays "free" tile yields undimmed (#8753)

This commit is contained in:
SomeTroglodyte 2023-02-26 18:19:18 +01:00 committed by GitHub
parent cff8876ec8
commit 7bfaeb274c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,6 +111,11 @@ class CityTileGroup(val city: City, tile: Tile, tileSetStrings: TileSetStrings)
layerMisc.dimYields(false)
}
// Provides yield without worker assigned (isWorked already tested above)
tile.providesYield() -> {
// defaults are OK
}
// Not-worked
else -> {
icon = ImageGetter.getImage("TileIcons/NotWorked")