typo
This commit is contained in:
parent
53f956b427
commit
b637771a96
1 changed files with 2 additions and 2 deletions
4
main.py
4
main.py
|
@ -54,11 +54,11 @@ class Hack():
|
||||||
else:
|
else:
|
||||||
raise MemoryError
|
raise MemoryError
|
||||||
|
|
||||||
def find_variable(self, client, offset: int) -> int:
|
def find_variable(self, base, offset: int) -> int:
|
||||||
"""Find element in memory"""
|
"""Find element in memory"""
|
||||||
local_element = None
|
local_element = None
|
||||||
while not local_element:
|
while not local_element:
|
||||||
local_element = self.pm.read_uint(client + offset)
|
local_element = self.pm.read_uint(base + offset)
|
||||||
sleep(self.timeout)
|
sleep(self.timeout)
|
||||||
|
|
||||||
return local_element
|
return local_element
|
||||||
|
|
Reference in a new issue