Skip to content

Commit

Permalink
fix(Main): Remove GetTime() argument
Browse files Browse the repository at this point in the history
- Correction to an unintended argument (true) passed to GetTime() on line 62 of HL.Pulse.
  • Loading branch information
joshjau authored Feb 22, 2025
1 parent 7011964 commit 8bc468b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HeroLib/Main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8bc468b

Please sign in to comment.