From 9a717e73217fc579687d4f3279209e76d3dd4260 Mon Sep 17 00:00:00 2001 From: "HRK.EXEX" <74143200+HRK-EXEX@users.noreply.github.com> Date: Mon, 13 Jan 2025 13:44:27 +0900 Subject: [PATCH] fixed the funny bug --- source/debug/FPSCounter.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/debug/FPSCounter.hx b/source/debug/FPSCounter.hx index f6fc2d00..403f06fe 100644 --- a/source/debug/FPSCounter.hx +++ b/source/debug/FPSCounter.hx @@ -121,7 +121,7 @@ class FPSCounter extends TextField // so people can override it in hscript public dynamic function updateText() { - text = 'FPS: ${ClientPrefs.data.ffmpegMode ? ClientPrefs.data.targetFPS + " - Rendering Mode" : '$currentFPS - ${ClientPrefs.data.vsync ? "VSync" : "No VSync"}\n'}' + + text = 'FPS: ${ClientPrefs.data.ffmpegMode ? ClientPrefs.data.targetFPS + " - Rendering Mode" : '$currentFPS - ${ClientPrefs.data.vsync ? "VSync" : "No VSync"}'}\n' + 'RAM: ${CoolUtil.formatBytes(Memory.getCurrentUsage(), 1, true)}' + ' / ${MemoryUtil.isGcEnabled ? CoolUtil.formatBytes(Gc.memInfo64(Gc.MEM_INFO_USAGE), 1, true) : "Disabled"}' + ' / ${CoolUtil.formatBytes(Memory.getPeakUsage(), 1, true)}\n' + os;