Skip to content

Commit

Permalink
fix(control): fix using ClassicJump
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexisHuvier committed Jan 11, 2025
1 parent 54e056a commit 667ef9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SharpEngine.Core/Component/ControlComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ private Vec2 GetMovement()
ControlType.LeftRight => GetLeftRightMovement(),
ControlType.UpDown => GetUpDownMovement(),
ControlType.FourDirection => GetFourDirectionMovement(),
ControlType.ClassicJump => Vec2.Zero,
_ => throw new ArgumentException("Unknown Control Type")
};
}
Expand Down

0 comments on commit 667ef9a

Please sign in to comment.