From 4ac46046e0980ebe72f32317cc6e67d245d82cae Mon Sep 17 00:00:00 2001 From: Fesiug Date: Wed, 1 Nov 2023 18:04:34 -0400 Subject: [PATCH] Point gun, holster, DON'T approach, it's instant --- gamemodes/benny/gamemode/modules/player/sh_movement.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gamemodes/benny/gamemode/modules/player/sh_movement.lua b/gamemodes/benny/gamemode/modules/player/sh_movement.lua index d2804ee..dd3781f 100644 --- a/gamemodes/benny/gamemode/modules/player/sh_movement.lua +++ b/gamemodes/benny/gamemode/modules/player/sh_movement.lua @@ -88,6 +88,8 @@ hook.Add( "CreateMove", "CamFuck", function( cmd ) end lastmoveangle_lerp = math.ApproachAngle( lastmoveangle_lerp or lastmoveangle, lastmoveangle, FrameTime() * 360 ) cmd:SetViewAngles( Angle( ang.p, lastmoveangle_lerp, 0 ) ) + else + lastmoveangle_lerp = lastmoveangle end local fixang = Angle()