use timeout
This commit is contained in:
parent
6f96f1f080
commit
2fb46c5cbe
1 changed files with 1 additions and 2 deletions
3
hack.py
3
hack.py
|
@ -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
|
||||||
|
|
Reference in a new issue