mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-27 20:43:02 +05:00
revert grapple stuff
This commit is contained in:
parent
7b03b16ea7
commit
40142ec39d
3 changed files with 5 additions and 6 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
VERSION_GLOBAL = "1.0.28"
|
||||
VERSION_GLOBAL = "1.0.29"
|
||||
VERSION_LATEST = ""
|
||||
VERSION_CHECKED = false
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
1.0.28
|
||||
1.0.29
|
Loading…
Reference in a new issue