Skip to content

Commit

Permalink
fixed the funny bug
Browse files Browse the repository at this point in the history
  • Loading branch information
HRK-EXEX committed Jan 13, 2025
1 parent 9253cb8 commit 9a717e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/debug/FPSCounter.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9a717e7

Please sign in to comment.