mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-16 18:59:15 +07:00
Perpetual constructions display "0 turn" in the queue (#2435)
This gag or omitting the line entirely both look better
This commit is contained in:
@ -185,7 +185,9 @@ class ConstructionsTable(val cityScreen: CityScreen) : Table(CameraStageBaseScre
|
||||
|
||||
val isFirstConstructionOfItsKind = cityConstructions.isFirstConstructionOfItsKind(constructionQueueIndex, name)
|
||||
val turnsToComplete = cityConstructions.turnsToConstruction(name, isFirstConstructionOfItsKind)
|
||||
var text = name.tr() + turnOrTurns(turnsToComplete)
|
||||
var text = name.tr() +
|
||||
if (name in PerpetualConstruction.perpetualConstructionsMap) "\n∞"
|
||||
else turnOrTurns(turnsToComplete)
|
||||
|
||||
val constructionResource = cityConstructions.getConstruction(name).getResource()
|
||||
|
||||
|
Reference in New Issue
Block a user