This commit is contained in:
Jonny_Bro (Nikita) 2023-09-28 10:23:22 +05:00 committed by GitHub
parent 249589984a
commit 11e37fc2e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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