Update Moving.client.lua

This commit is contained in:
Max 2022-12-03 04:32:25 -06:00 committed by GitHub
parent 726970a411
commit 0a9f47d84a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -883,8 +883,9 @@ DEF_ACTION(Action.WALKING, function(m: Mario)
return m:SetAction(Action.CROUCH_SLIDE)
end
local step
do
-- stylua: ignore
local step do
m.ActionState = 0
startPos = m.Position
@ -1414,7 +1415,7 @@ 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
-- stylua: ignore
commonLandingAction(m, if m.LongJumpIsSlow
then Animations.CROUCH_FROM_FAST_LONGJUMP