Stats string does not display decimal points
This commit is contained in:
parent
f662cd910d
commit
3ca20951e5
1 changed files with 1 additions and 1 deletions
|
@ -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> {
|
||||
|
|
Loading…
Reference in a new issue