mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-04 15:27:50 +07:00
Stats string does not display decimal points
This commit is contained in:
@ -55,7 +55,7 @@ open class Stats() {
|
||||
}
|
||||
|
||||
override fun toString(): String {
|
||||
return toHashMap().filter { it.value != 0f }.map { it.key.toString() + ": " + it.value }.joinToString()
|
||||
return toHashMap().filter { it.value != 0f }.map { it.key.toString() + ": " + it.value.toInt() }.joinToString()
|
||||
}
|
||||
|
||||
fun toHashMap(): HashMap<Stat, Float> {
|
||||
|
Reference in New Issue
Block a user