mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-18 06:24:06 +09:00
debugwin: drawing ingame weatherboxes
This commit is contained in:
@@ -221,7 +221,7 @@ object Common {
|
||||
}
|
||||
|
||||
override fun read(json: Json, jsonData: JsonValue, type: Class<*>?): WeatherStateBox {
|
||||
return jsonData.asString().split(';').map { it.toDouble() }.let {
|
||||
return jsonData.asString().split(';').map { it.toFloat() }.let {
|
||||
WeatherStateBox(it[0], it[1], it[2], it[3], it[4])
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user