Fix slide kick not working.
This commit is contained in:
parent
dc9811c1d9
commit
be512b42b4
1 changed files with 2 additions and 2 deletions
|
@ -1235,9 +1235,9 @@ DEF_ACTION(Action.CROUCH_SLIDE, function(m: Mario)
|
|||
|
||||
if m.Input:Has(InputFlags.B_PRESSED) then
|
||||
if m.ForwardVel >= 10 then
|
||||
m:SetAction(Action.SLIDE_KICK)
|
||||
return m:SetAction(Action.SLIDE_KICK)
|
||||
else
|
||||
m:SetAction(Action.MOVE_PUNCHING, 9)
|
||||
return m:SetAction(Action.MOVE_PUNCHING, 9)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue