From 4b21cc63cfab52a0764dd238717ce3bb382f3852 Mon Sep 17 00:00:00 2001 From: c4nk_ <89845830+c4nkerm3me@users.noreply.github.com> Date: Mon, 24 Jun 2024 00:41:04 +0500 Subject: [PATCH] Fixed "left shift" safety roll. --- beatrun/gamemodes/beatrun/gamemode/sh/Grapple.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/beatrun/gamemodes/beatrun/gamemode/sh/Grapple.lua b/beatrun/gamemodes/beatrun/gamemode/sh/Grapple.lua index 87e1516..85dd7b6 100644 --- a/beatrun/gamemodes/beatrun/gamemode/sh/Grapple.lua +++ b/beatrun/gamemodes/beatrun/gamemode/sh/Grapple.lua @@ -83,7 +83,7 @@ hook.Add("SetupMove", "Grapple", function(ply, mv, cmd) ply:SetGrappleLength(mv:GetOrigin():Distance(trout.HitPos)) ply:SetWallrunCount(0) ply:SetJumpTurn(false) - ply:SetCrouchJumpBlocked(false) + ply:SetCrouchJumpBlocked(true) ply:SetNW2Entity("grappleEntity", trout.Entity) ply:SetNW2Bool("grappledNonCourse", true) @@ -126,6 +126,7 @@ hook.Add("SetupMove", "Grapple", function(ply, mv, cmd) ply:SetNW2Bool("grappledNonCourse", false) ply:SetGrappling(false) + ply:SetCrouchJumpBlocked(false) if CLIENT and IsFirstTimePredicted() or game.SinglePlayer() then ply:EmitSound("mirrorsedge/zipline_detach.wav", 40, 100 + math.random(-25, 10)) @@ -336,4 +337,4 @@ local function Swingrope(ply, mv, cmd) end end -hook.Add("SetupMove", "Swingrope", Swingrope) \ No newline at end of file +hook.Add("SetupMove", "Swingrope", Swingrope)