mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-29 13:23:02 +05:00
Kinda fixed glitch with ladder noclip when ladder is deleted
This commit is contained in:
parent
9a7d1561dc
commit
95adabcf3c
3 changed files with 4 additions and 2 deletions
|
@ -345,7 +345,7 @@ local transitionanims = {
|
|||
hangheaveup = "runfwd",
|
||||
dodgejumpleft = "stand",
|
||||
walkbalancefalloffleft = "jumpair",
|
||||
vaultover = "runfwd",
|
||||
vaultover = "jumpair",
|
||||
meleeairhit = "jumpair",
|
||||
dodgejumpright = "stand",
|
||||
meleeair = "jumpair",
|
||||
|
|
|
@ -657,7 +657,7 @@ local function ClimbingCheck(ply, mv, cmd)
|
|||
local lastvel = mv:GetVelocity()
|
||||
|
||||
mv:SetVelocity(vector_origin)
|
||||
ply:SetMoveType(MOVETYPE_NOCLIP)
|
||||
-- ply:SetMoveType(MOVETYPE_NOCLIP)
|
||||
ply:ViewPunch(Angle(5, 0, 0.5))
|
||||
|
||||
local wallangc = Angle(wallang)
|
||||
|
|
|
@ -75,6 +75,8 @@ local function LadderCheck(ply, mv, cmd, ladder)
|
|||
else
|
||||
ply:SetLadderDelay(CurTime() + 0.25)
|
||||
end
|
||||
|
||||
ply:SetMoveType(MOVETYPE_WALK)
|
||||
end
|
||||
|
||||
local function LadderThink(ply, mv, cmd, ladder)
|
||||
|
|
Loading…
Reference in a new issue