From 249589984aff0485b6b78e6366c8102adaf04b16 Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" <48434875+JonnyBro@users.noreply.github.com> Date: Thu, 28 Sep 2023 08:07:44 +0500 Subject: [PATCH] nice --- beatrun/gamemodes/beatrun/gamemode/cl/JumpAnim.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beatrun/gamemodes/beatrun/gamemode/cl/JumpAnim.lua b/beatrun/gamemodes/beatrun/gamemode/cl/JumpAnim.lua index f9b3091..80e6a77 100644 --- a/beatrun/gamemodes/beatrun/gamemode/cl/JumpAnim.lua +++ b/beatrun/gamemodes/beatrun/gamemode/cl/JumpAnim.lua @@ -1656,7 +1656,7 @@ local function JumpThink() BodyAnim:SetSequence(transitionanims[BodyAnimString]) end - if ply:WaterLevel() >= 2 and not ply:Crouching() then + if ply:WaterLevel() >= 2 and not ply:Crouching() and not ply:OnGround() then BodyAnim:SetSequence(BodyAnim:LookupSequence("water_float")) if ply:KeyDown(IN_MOVELEFT) and vel_l > 5 then @@ -1775,4 +1775,4 @@ local function JumpThink() end end -hook.Add("Think", "JumpThink", JumpThink) \ No newline at end of file +hook.Add("Think", "JumpThink", JumpThink)