forked from hkc/cc-stuff
wallhack: sleeping until there is player object
This commit is contained in:
parent
0c1cfe78ec
commit
34319f09ad
|
@ -37,6 +37,10 @@ return function()
|
|||
return result
|
||||
end
|
||||
|
||||
while _G.player == nil do
|
||||
os.sleep(0.05)
|
||||
end
|
||||
|
||||
local cache = {}
|
||||
while _G._running do
|
||||
updateLookVector()
|
||||
|
|
Loading…
Reference in New Issue