mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-27 20:43:02 +05:00
nice
This commit is contained in:
parent
49d480c7a5
commit
249589984a
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
hook.Add("Think", "JumpThink", JumpThink)
|
||||
|
|
Loading…
Reference in a new issue