small minimap fix
This commit is contained in:
parent
c449e68ba7
commit
122b815fc0
2 changed files with 3 additions and 3 deletions
|
@ -480,7 +480,7 @@ class CityStats {
|
|||
|
||||
if (cityInfo.cityConstructions.currentConstructionFromQueue == Constants.settler && totalFood > 0) {
|
||||
newFinalStatList["Excess food to production"] =
|
||||
Stats().apply { production=totalFood; food=-totalFood }
|
||||
Stats().apply { production = totalFood; food = -totalFood }
|
||||
}
|
||||
|
||||
if (cityInfo.isInResistance())
|
||||
|
|
|
@ -135,8 +135,8 @@ class MinimapHolder(mapHolder: WorldMapHolder): Table(){
|
|||
}
|
||||
toggleIconTable.add(populationImage).row()
|
||||
|
||||
val resourceImage = ImageGetter.getImage("ResourceImages/Cattle").surroundWithCircle(40f)
|
||||
resourceImage.circle.color = Color.BLACK
|
||||
val resourceImage = ImageGetter.getImage("ResourceIcons/Cattle").surroundWithCircle(40f)
|
||||
// resourceImage.circle.color = Color.BLACK
|
||||
resourceImage.actor.color.a = if(settings.showResourcesAndImprovements) 1f else 0.5f
|
||||
resourceImage.onClick {
|
||||
settings.showResourcesAndImprovements = !settings.showResourcesAndImprovements
|
||||
|
|
Loading…
Reference in a new issue