From 667ef9a4c3942f38665cf198211482afab799b47 Mon Sep 17 00:00:00 2001 From: Alexis Huvier Date: Sat, 11 Jan 2025 17:54:41 +0100 Subject: [PATCH] fix(control): fix using ClassicJump --- SharpEngine.Core/Component/ControlComponent.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/SharpEngine.Core/Component/ControlComponent.cs b/SharpEngine.Core/Component/ControlComponent.cs index 3a2d7e8..ad486ba 100644 --- a/SharpEngine.Core/Component/ControlComponent.cs +++ b/SharpEngine.Core/Component/ControlComponent.cs @@ -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") }; }