3.14.9-patch1

Apparently Float.min doesn't work on older versions of Java. Appears here: https://docs.oracle.com/javase/8/docs/api/java/lang/Float.html but not here: https://docs.oracle.com/javase/7/docs/api/java/lang/Float.html  Hate you, Java. Why do you insist on not being Kotlin.
This commit is contained in:
Yair Morgenstern 2021-05-20 00:46:39 +03:00
parent 106cbb79c3
commit 984293c252
3 changed files with 4 additions and 4 deletions

View File

@ -3,8 +3,8 @@ package com.unciv.build
object BuildConfig {
const val kotlinVersion = "1.4.30"
const val appName = "Unciv"
const val appCodeNumber = 567
const val appVersion = "3.14.9"
const val appCodeNumber = 568
const val appVersion = "3.14.9-patch1"
const val gdxVersion = "1.10.0"
const val roboVMVersion = "2.3.1"

View File

@ -17,8 +17,8 @@ import com.unciv.models.ruleset.unit.BaseUnit
import com.unciv.models.stats.Stat
import com.unciv.models.translations.tr
import com.unciv.ui.utils.*
import java.lang.Float.min
import kotlin.concurrent.thread
import kotlin.math.min
import com.unciv.ui.utils.AutoScrollPane as ScrollPane
class ConstructionsTable(val cityScreen: CityScreen) : Table(CameraStageBaseScreen.skin) {

View File

@ -6,7 +6,7 @@ import com.badlogic.gdx.scenes.scene2d.ui.Table
import com.badlogic.gdx.utils.Align
import com.unciv.logic.civilization.TechManager
import com.unciv.ui.utils.*
import java.lang.Float.min
import kotlin.math.min
class TechButton(techName:String, private val techManager: TechManager, isWorldScreen: Boolean = true) : Table(CameraStageBaseScreen.skin) {
val text = "".toLabel().apply { setAlignment(Align.center) }