diff --git a/core/src/com/unciv/ui/worldscreen/WorldScreenTopBar.kt b/core/src/com/unciv/ui/worldscreen/WorldScreenTopBar.kt index dd667b8f3b..dda40b83b3 100644 --- a/core/src/com/unciv/ui/worldscreen/WorldScreenTopBar.kt +++ b/core/src/com/unciv/ui/worldscreen/WorldScreenTopBar.kt @@ -134,8 +134,10 @@ class WorldScreenTopBar(val screen: WorldScreen) : Table() { } private fun getCultureText(civInfo: CivilizationInfo, nextTurnStats: Stats): String { - val turnsToNextPolicy = (civInfo.policies.getCultureNeededForNextPolicy() - civInfo.policies.storedCulture) / nextTurnStats.culture var cultureString = "+" + Math.round(nextTurnStats.culture) + if(nextTurnStats.culture==0f) return cultureString // when you start the game, you're not producing any culture + + val turnsToNextPolicy = (civInfo.policies.getCultureNeededForNextPolicy() - civInfo.policies.storedCulture) / nextTurnStats.culture if (turnsToNextPolicy > 0) cultureString += " (" + ceil(turnsToNextPolicy).toInt() + ")" else cultureString += " (!)" return cultureString