From 71af72b6aab96e65c5cb3973ff1e0b439a92620c Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sun, 2 Apr 2023 20:12:06 +0200 Subject: [PATCH] remove prefix --- cheats/norecoil.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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)