From 8bc468b0a85876dc23046adf336f03457dae55b3 Mon Sep 17 00:00:00 2001 From: JoshAU <37181202+joshjau@users.noreply.github.com> Date: Sat, 22 Feb 2025 13:23:41 +0800 Subject: [PATCH] fix(Main): Remove GetTime() argument - Correction to an unintended argument (true) passed to GetTime() on line 62 of HL.Pulse. --- HeroLib/Main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HeroLib/Main.lua b/HeroLib/Main.lua index 0eb636fe..e65a9405 100755 --- a/HeroLib/Main.lua +++ b/HeroLib/Main.lua @@ -58,7 +58,7 @@ function HL.Pulse() end return end - if GetTime(true) > HL.Timer.Pulse and OnRetail then + if GetTime() > HL.Timer.Pulse and OnRetail then -- Put a 10ms min and 50ms max limiter to save FPS (depending on World Latency). -- And add the Reduce CPU Load offset (default 50ms) in case it's enabled. --HL.Timer.PulseOffset = mathmax(10, mathmin(50, HL.Latency()))/1000 + (HL.GUISettings.General.ReduceCPULoad and HL.GUISettings.General.ReduceCPULoadOffset or 0)