mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 11:12:59 +08:00
Fix incorrect case in CatcherArea
parameter
This commit is contained in:
parent
73a5f9e911
commit
c95eb2d2c1
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user