This commit is contained in:
Jonny_Bro (Nikita) 2023-09-09 19:01:14 +05:00
parent 219f8804e6
commit 16fea4a2b2

View file

@ -1636,7 +1636,7 @@ local function JumpThink()
BodyAnim:SetSequence(transitionanims[BodyAnimString]) BodyAnim:SetSequence(transitionanims[BodyAnimString])
end end
if ply:WaterLevel() > 0 then if ply:WaterLevel() >= 2 then
BodyAnim:SetSequence(BodyAnim:LookupSequence("water_float")) BodyAnim:SetSequence(BodyAnim:LookupSequence("water_float"))
if ply:KeyDown(IN_MOVELEFT) and vel_l > 5 then if ply:KeyDown(IN_MOVELEFT) and vel_l > 5 then