Update Moving.client.lua

This commit is contained in:
Max 2022-12-03 04:26:26 -06:00 committed by GitHub
parent 5ca0051112
commit ff8e9c0a8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1414,11 +1414,11 @@ DEF_ACTION(Action.LONG_JUMP_LAND, function(m: Mario)
if not m.Input:Has(InputFlags.NONZERO_ANALOG) then
m:PlaySoundIfNoFlag(Sounds.MARIO_UH, MarioFlags.MARIO_SOUND_PLAYED)
end
commonLandingAction(
m,
if m.LongJumpIsSlow then Animations.CROUCH_FROM_FAST_LONGJUMP else Animations.CROUCH_FROM_SLOW_LONGJUMP
)
-- stylua: ignore
commonLandingAction(m, if m.LongJumpIsSlow
then Animations.CROUCH_FROM_FAST_LONGJUMP
else Animations.CROUCH_FROM_SLOW_LONGJUMP)
return false
end)