diff --git a/src/net/torvald/terrarum/ui/BasicDebugInfoWindow.kt b/src/net/torvald/terrarum/ui/BasicDebugInfoWindow.kt index 0a77cfa5c..a4bc0387f 100644 --- a/src/net/torvald/terrarum/ui/BasicDebugInfoWindow.kt +++ b/src/net/torvald/terrarum/ui/BasicDebugInfoWindow.kt @@ -233,9 +233,13 @@ class BasicDebugInfoWindow : UICanvas() { App.fontSmallNumbers.draw(batch, "${ccY}FPS${ccG}${Gdx.graphics.framesPerSecond.toString().padStart(3, ' ')}", (App.scr.width - 3 - 15 * TinyAlphNum.W).toFloat(), line(2)) // global render counter - App.fontSmallNumbers.draw(batch, "${ccO}${App.GLOBAL_RENDER_TIMER.toString().padStart(10, ' ')}", + App.fontSmallNumbers.draw(batch, "${ccO}R${App.GLOBAL_RENDER_TIMER.toString().padStart(9, ' ')}", (App.scr.width - 35 * TinyAlphNum.W - 2).toFloat(), line(1)) - + (ingame as? TerrarumIngame)?.let { + // global update counter (if applicable) + App.fontSmallNumbers.draw(batch, "${ccO}U${it.WORLD_UPDATE_TIMER.toString().padStart(9, ' ')}", + (App.scr.width - 35 * TinyAlphNum.W - 2).toFloat(), line(2)) + } /** * Bottom left */ diff --git a/work_files/UI/logic_block_with_mcu.kra b/work_files/UI/logic_block_with_mcu.kra index c18f75a22..738d0c7ec 100644 --- a/work_files/UI/logic_block_with_mcu.kra +++ b/work_files/UI/logic_block_with_mcu.kra @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a199d5c455e03ae8b4d1d7f9eb4e1caf5b640ce8c10973c6e71a11b09d99898e -size 206150 +oid sha256:ec90913f20aab77bad4c1dbc91e84f65c4d4f135d2cef03f813a3317714562c1 +size 120349