From 0c71e86ddaeacaf72b370848c42a74747938ddc6 Mon Sep 17 00:00:00 2001 From: Fesiug Date: Wed, 3 Jan 2024 19:16:13 -0500 Subject: [PATCH] Typo that broke crouch walking --- .../benny/gamemode/modules/player/sh_movement_advanced.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamemodes/benny/gamemode/modules/player/sh_movement_advanced.lua b/gamemodes/benny/gamemode/modules/player/sh_movement_advanced.lua index 694658d..712c141 100644 --- a/gamemodes/benny/gamemode/modules/player/sh_movement_advanced.lua +++ b/gamemodes/benny/gamemode/modules/player/sh_movement_advanced.lua @@ -152,7 +152,7 @@ hook.Add( "Move", "Benny_Move", function( ply, mv ) local w = ply:BennyCheck() local hand = false if w and w:bWepClass( hand ) then - local targetspeed = ply:GetMaxSpeed() + local targetspeed = mv:GetMaxSpeed() targetspeed = targetspeed * w:GetStat( hand, "Speed_Move" )