mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-27 20:43:02 +05:00
fix x64 (<3 rlx, fuck rubat (love u))
This commit is contained in:
parent
2e6e37ccac
commit
612a885c0a
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ hook.Add("SetupMove", "Grapple", function(ply, mv, cmd)
|
|||
local is_ent_invalid = (ent == NULL or ent == nil) and ply:GetNW2Bool("grappledNonCourse")
|
||||
local is_getting_off = (not ply:Alive() or mv:KeyPressed(IN_JUMP) and not grappled and not ply:OnGround() or ply:GetClimbing() ~= 0 or ply:GetMantle() ~= 0 or not usingrh)
|
||||
local c_delta = 0
|
||||
if not is_ent_invalid then
|
||||
if IsValid(ent) and not is_ent_invalid then
|
||||
c_delta = (ent:GetNWVector("gpos", Vector(0,0,0)) - ent:GetNWVector("glastpos", Vector(0, 0, 0))):Length()
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue