From 34319f09adc91b625c21db40c5f584c487431998 Mon Sep 17 00:00:00 2001 From: Vftdan Date: Fri, 13 Oct 2023 15:07:39 +0300 Subject: [PATCH] wallhack: sleeping until there is player object --- augment/modules/wh.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/augment/modules/wh.lua b/augment/modules/wh.lua index fcae77c..a29998b 100644 --- a/augment/modules/wh.lua +++ b/augment/modules/wh.lua @@ -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()