From 40142ec39d67a535e09284e24a9345ac5e45086e Mon Sep 17 00:00:00 2001 From: relaxtakenotes <91839650+relaxtakenotes@users.noreply.github.com> Date: Sun, 22 Dec 2024 16:15:57 +0500 Subject: [PATCH] revert grapple stuff --- beatrun/gamemodes/beatrun/gamemode/sh/Grapple.lua | 7 +++---- beatrun/gamemodes/beatrun/gamemode/shared.lua | 2 +- version.txt | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/beatrun/gamemodes/beatrun/gamemode/sh/Grapple.lua b/beatrun/gamemodes/beatrun/gamemode/sh/Grapple.lua index 9688ef0..646d91f 100644 --- a/beatrun/gamemodes/beatrun/gamemode/sh/Grapple.lua +++ b/beatrun/gamemodes/beatrun/gamemode/sh/Grapple.lua @@ -205,8 +205,8 @@ hook.Add("SetupMove", "Grapple", function(ply, mv, cmd) tr.endpos = mv:GetOrigin() local mins, maxs = ply:GetHull() - mins:Mul(1.05) - maxs:Mul(1.05) + mins:Mul(1.01) + maxs:Mul(1.01) tr.mins = mins tr.maxs = maxs @@ -219,10 +219,9 @@ hook.Add("SetupMove", "Grapple", function(ply, mv, cmd) vel:Normalize() if not trout.Hit then - mv:SetOrigin(mv:GetOrigin() - vel * (ply:GetGrapplePos():Distance(pos) - ply:GetGrappleLength())) + mv:SetOrigin(mv:GetOrigin() - vel * (ply:GetGrapplePos():Distance(pos) - ply:GetGrappleLength() - 10)) end - mv:SetVelocity(mv:GetVelocity() - vel * (ply:GetGrapplePos():Distance(pos) - ply:GetGrappleLength())) end diff --git a/beatrun/gamemodes/beatrun/gamemode/shared.lua b/beatrun/gamemodes/beatrun/gamemode/shared.lua index 9560b16..de54fbf 100644 --- a/beatrun/gamemodes/beatrun/gamemode/shared.lua +++ b/beatrun/gamemodes/beatrun/gamemode/shared.lua @@ -1,4 +1,4 @@ -VERSION_GLOBAL = "1.0.28" +VERSION_GLOBAL = "1.0.29" VERSION_LATEST = "" VERSION_CHECKED = false diff --git a/version.txt b/version.txt index f8536a4..fa7e3ca 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.0.28 \ No newline at end of file +1.0.29 \ No newline at end of file