mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 08:34:13 +08:00
fix
This commit is contained in:
parent
f827b49248
commit
c66487d0be
@ -336,7 +336,7 @@ class texthook(basetext):
|
|||||||
self.hooktypecollecter[key] = 1
|
self.hooktypecollecter[key] = 1
|
||||||
break
|
break
|
||||||
if self.isremoveuseless:
|
if self.isremoveuseless:
|
||||||
if hc not in [_[-1] for _ in self.autostarthookcode]:
|
if hc not in [_[0] for _ in self.autostarthookcode]:
|
||||||
self.Luna_RemoveHook(tp.processId, tp.addr)
|
self.Luna_RemoveHook(tp.processId, tp.addr)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user