Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions gamemodes/beatrun/gamemode/cl/JumpAnim.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1808,12 +1808,6 @@ local function JumpThink()
BodyAnim:SetSequence("wallrunverticalstart")
end

if ply:GetMantle() == 2 then
BodyAnim:SetSequence("vaultover")
elseif ply:GetMantle() == 3 then
BodyAnim:SetSequence("vaultkong")
end

if IsValid(ply:GetZipline()) then BodyAnim:SetSequence("zipline") end
end
end
Expand Down Expand Up @@ -2106,6 +2100,18 @@ local function JumpThink()
func = func and func(ply)

if func == true then return end

if ply:GetMantle() == 2 then
BodyAnim:SetSequence("vaultover")

return
end

if ply:GetMantle() == 3 then
BodyAnim:SetSequence("vaultkong")

return
end

if ply:GetMantle() == 4 then
BodyAnim:SetSequence("vaultoverhigh")
Expand Down