Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
tweak(client): remove dead netids
  • Loading branch information
renzuzu committed Oct 23, 2021
1 parent 709c276 commit efe38ac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions renzu_hud/client/function.lua
Expand Up @@ -3895,6 +3895,10 @@ function Hud:SyncWheelAndSound(sounds,wheels)
end
end
end
elseif not NetworkDoesEntityExistWithNetworkId(v.entity) then
local temp = LocalPlayer.state.onlinevehicles
temp[k] = nil
LocalPlayer.state:set('onlinevehicles', temp, true)
end
end
for k,v in pairs(self.nearstancer) do
Expand Down

0 comments on commit efe38ac

Please sign in to comment.