forked from hkc/cc-stuff
1
0
Fork 0

wallhack: actually calling updateLookVector

This commit is contained in:
Vftdan 2023-10-13 15:03:17 +03:00
parent 7d8cc2834e
commit 0c1cfe78ec
1 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,8 @@ return function()
local cache = {} local cache = {}
while _G._running do while _G._running do
updateLookVector()
for id, entry in pairs(cache) do for id, entry in pairs(cache) do
if nearbyEntitiesByUUID[id] == nil then if nearbyEntitiesByUUID[id] == nil then
entry.cube.remove() entry.cube.remove()