mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-07 20:31:51 +09:00
UI visible and render is offsetted but update is ok
This commit is contained in:
@@ -261,6 +261,7 @@ class UIInventoryFull(
|
||||
|
||||
// UI items
|
||||
categoryBar.render(batch, camera)
|
||||
transitionPanel.render(batch, camera)
|
||||
|
||||
// render map while visible
|
||||
/*if (currentScreenTransition > 1f + epsilon) {
|
||||
|
||||
@@ -300,13 +300,13 @@ internal object WeatherMixer : RNGConsumer {
|
||||
|
||||
var mixFrom: String?
|
||||
try { mixFrom = JSON.get("mixFrom").asJsonPrimitive.asString }
|
||||
catch (e: NullPointerException) { mixFrom = null }
|
||||
catch (e: IllegalStateException) { mixFrom = null }
|
||||
|
||||
|
||||
|
||||
var mixPercentage: Double?
|
||||
try { mixPercentage = JSON.get("mixPercentage").asJsonPrimitive.asDouble }
|
||||
catch (e: NullPointerException) { mixPercentage = null }
|
||||
catch (e: IllegalStateException) { mixPercentage = null }
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user