mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-13 08:14:29 +07:00
Resolved #2749 - show current improvement and remaining time to build in improvement picker screen
This commit is contained in:
parent
29e25747a8
commit
df18d5f8a9
@ -42,6 +42,11 @@ class ImprovementPickerScreen(tileInfo: TileInfo, onAccept: ()->Unit) : PickerSc
|
||||
accept(selectedImprovement)
|
||||
}
|
||||
|
||||
if(tileInfo.improvementInProgress!=null){
|
||||
val currentImprovementText = "{${tileInfo.improvementInProgress}} {in} ${tileInfo.turnsToImprovement} {turns}"
|
||||
topTable.add(currentImprovementText.toLabel()).padBottom(10f).row()
|
||||
}
|
||||
|
||||
val regularImprovements = Table()
|
||||
regularImprovements.defaults().pad(5f)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user