Fix slide kick not working.

This commit is contained in:
Max 2023-06-23 21:27:27 -05:00 committed by GitHub
parent dc9811c1d9
commit be512b42b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1235,9 +1235,9 @@ DEF_ACTION(Action.CROUCH_SLIDE, function(m: Mario)
if m.Input:Has(InputFlags.B_PRESSED) then if m.Input:Has(InputFlags.B_PRESSED) then
if m.ForwardVel >= 10 then if m.ForwardVel >= 10 then
m:SetAction(Action.SLIDE_KICK) return m:SetAction(Action.SLIDE_KICK)
else else
m:SetAction(Action.MOVE_PUNCHING, 9) return m:SetAction(Action.MOVE_PUNCHING, 9)
end end
end end