mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-28 08:04:13 +08:00
fix
This commit is contained in:
parent
f827b49248
commit
c66487d0be
@ -336,7 +336,7 @@ class texthook(basetext):
|
||||
self.hooktypecollecter[key] = 1
|
||||
break
|
||||
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)
|
||||
return False
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user