revert some changes

This commit is contained in:
Jonny_Bro (Nikita) 2023-09-09 11:02:49 +05:00
parent 01a45fccde
commit 159747614c
3 changed files with 4 additions and 24 deletions

View file

@ -271,12 +271,7 @@ hook.Add("PostDrawTranslucentRenderables", "GrappleBeam", function()
render.DrawBeam(LerpVector(ropelerp, lhandpos - ropedown, rhandpos), lhandpos, 1.5, 0, 1)
render.DrawBeam(ropetop, lp:GetGrapplePos(), 1.5, 0, 1)
-- BodyAnim:SetSequence("grapplecenter")
if CLIENT and IsFirstTimePredicted() then
BodyAnim:SetSequence("grapplecenter")
elseif game.SinglePlayer() then
ply:SendLua("BodyAnim:SetSequence('grapplecenter')")
end
BodyAnim:SetSequence("grapplecenter")
ropelerp = math.Approach(ropelerp, 1, FrameTime() * 2)
else

View file

@ -9,12 +9,7 @@ function DoJumpTurn(lookbehind)
VMLegs:Remove()
end
-- BodyAnim:SetSequence("jumpturnfly")
if CLIENT and IsFirstTimePredicted() then
BodyAnim:SetSequence("jumpturnfly")
elseif game.SinglePlayer() then
ply:SendLua("BodyAnim:SetSequence('jumpturnfly')")
end
BodyAnim:SetSequence("jumpturnfly")
BodyAnimCycle = 0
BodyAnimSpeed = 1

View file

@ -17,19 +17,9 @@ local function Hardland(jt)
end
DoJumpTurn(jt)
-- BodyAnim:SetSequence("jumpturnflyidle")
if CLIENT and IsFirstTimePredicted() then
BodyAnim:SetSequence("jumpturnflyidle")
elseif game.SinglePlayer() then
ply:SendLua("BodyAnim:SetSequence('jumpturnflyidle')")
end
BodyAnim:SetSequence("jumpturnflyidle")
else
-- BodyAnim:SetSequence("jumpcoilend")
if CLIENT and IsFirstTimePredicted() then
BodyAnim:SetSequence("jumpcoilend")
elseif game.SinglePlayer() then
ply:SendLua("BodyAnim:SetSequence('jumpcoilend')")
end
BodyAnim:SetSequence("jumpcoilend")
end
end
end