From 11e37fc2e76de8bd004465be3a42caee5e9bf5d2 Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" <48434875+JonnyBro@users.noreply.github.com> Date: Thu, 28 Sep 2023 10:23:22 +0500 Subject: [PATCH] nice 2 --- beatrun/gamemodes/beatrun/gamemode/cl/JumpAnim.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beatrun/gamemodes/beatrun/gamemode/cl/JumpAnim.lua b/beatrun/gamemodes/beatrun/gamemode/cl/JumpAnim.lua index 80e6a77..05b6ffb 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() and not ply:OnGround() then + if ply:WaterLevel() >= 2 and not ply:Crouching() and not ply:OnGround() and ply:GetMoveType() ~= MOVETYPE_NOCLIP then BodyAnim:SetSequence(BodyAnim:LookupSequence("water_float")) if ply:KeyDown(IN_MOVELEFT) and vel_l > 5 then