1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 00:43:22 +08:00

Fix incorrect case in CatcherArea parameter

This commit is contained in:
Dean Herbert 2022-07-06 14:28:47 +09:00
parent 73a5f9e911
commit c95eb2d2c1

View File

@ -120,10 +120,10 @@ namespace osu.Game.Rulesets.Catch.UI
lastHyperDashState = Catcher.HyperDashing; lastHyperDashState = Catcher.HyperDashing;
} }
public void SetCatcherPosition(float X) public void SetCatcherPosition(float x)
{ {
float lastPosition = Catcher.X; float lastPosition = Catcher.X;
float newPosition = Math.Clamp(X, 0, CatchPlayfield.WIDTH); float newPosition = Math.Clamp(x, 0, CatchPlayfield.WIDTH);
Catcher.X = newPosition; Catcher.X = newPosition;