Skip to content

Commit

Permalink
refactor(client): reduce target refresh rate
Browse files Browse the repository at this point in the history
Should split into two threads at a later date.
  • Loading branch information
thelindat committed Oct 2, 2022
1 parent 18bfa9e commit 6677d86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ local function enableTargeting()
end
end

for i = 1, 15 do
for i = 1, 10 do
if not isActive then break end

if Debug then
Expand All @@ -234,7 +234,7 @@ local function enableTargeting()
setNuiFocus(true, true)
end

if i ~= 20 then Wait(0) end
if i ~= 10 then Wait(0) end
end
elseif lastEntity then
if Debug then SetEntityDrawOutline(lastEntity, false) end
Expand Down

0 comments on commit 6677d86

Please sign in to comment.