use timeout

This commit is contained in:
Mylloon 2023-04-01 15:23:11 +02:00
parent 6f96f1f080
commit 2fb46c5cbe
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -67,8 +67,7 @@ class Hack():
try: try:
pm = Pymem("csgo.exe") pm = Pymem("csgo.exe")
except: except:
# Timeout sleep(self.timeout)
sleep(.5)
else: else:
print("Process found!") if verbose else None print("Process found!") if verbose else None
process_found = True process_found = True