diff --git a/cheats/norecoil.py b/cheats/norecoil.py index b340cb2..5d2f1a7 100644 --- a/cheats/norecoil.py +++ b/cheats/norecoil.py @@ -6,6 +6,8 @@ class Norecoil(Hack): def __init__(self) -> None: super().__init__() + # Control variable + self.nr__old_punch = Vec() def no_recoil(self) -> None: # Aliases @@ -22,9 +24,6 @@ class Norecoil(Hack): # Get client state client_state = mem.read_uint(engine + offset["dwClientState"]) - # Control variable - self.nr__old_punch = Vec() - def cheat(): # Check if player is shooting if mem.read_int(local_player + offset["m_iShotsFired"]):