mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-19 20:28:56 +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 isFirstConstructionOfItsKind = cityConstructions.isFirstConstructionOfItsKind(constructionQueueIndex, name)
|
||||||
val turnsToComplete = cityConstructions.turnsToConstruction(name, isFirstConstructionOfItsKind)
|
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()
|
val constructionResource = cityConstructions.getConstruction(name).getResource()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user