diff --git a/cheats/norecoil.py b/cheats/norecoil.py index 0b1ea1b..e87371a 100644 --- a/cheats/norecoil.py +++ b/cheats/norecoil.py @@ -7,7 +7,7 @@ class Norecoil(Hack): super().__init__(**kwargs) # Control variable - self.nr__old_punch = Vec() + self.__old_punch = Vec() def no_recoil(self) -> None: # Aliases @@ -46,7 +46,7 @@ class Norecoil(Hack): # New angles new_angle = angle_normalizer(view_angles.plus( - self.nr__old_punch).minus(aim_punch)) + self.__old_punch).minus(aim_punch)) # Cancel recoil by moving the player view angle mem.write_float( @@ -55,10 +55,10 @@ class Norecoil(Hack): client_state + offset["dwClientState_ViewAngles"] + offset["float"], new_angle.y) # Save the current spray value for the next bullet - self.nr__old_punch = aim_punch + self.__old_punch = aim_punch else: # Not spraying - self.nr__old_punch = Vec() + self.__old_punch = Vec() self.hack_loop(cheat)