chore: fix global variable issue
Some checks failed
Python Type Check and Lint / ci (push) Failing after 1s
Some checks failed
Python Type Check and Lint / ci (push) Failing after 1s
This commit is contained in:
parent
1730b73d1f
commit
854d7c9f30
1 changed files with 1 additions and 0 deletions
1
main.py
1
main.py
|
|
@ -31,6 +31,7 @@ hacks = {
|
||||||
}
|
}
|
||||||
|
|
||||||
def init():
|
def init():
|
||||||
|
global proc, base
|
||||||
try:
|
try:
|
||||||
proc = pm.open_process("ac_client.exe")
|
proc = pm.open_process("ac_client.exe")
|
||||||
base = pm.get_module(proc, "ac_client.exe")["base"]
|
base = pm.get_module(proc, "ac_client.exe")["base"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue