mirror of
https://github.com/ppy/osu
synced 2024-12-23 23:33:36 +00: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;
|
||||
}
|
||||
|
||||
public void SetCatcherPosition(float X)
|
||||
public void SetCatcherPosition(float x)
|
||||
{
|
||||
float lastPosition = Catcher.X;
|
||||
float newPosition = Math.Clamp(X, 0, CatchPlayfield.WIDTH);
|
||||
float newPosition = Math.Clamp(x, 0, CatchPlayfield.WIDTH);
|
||||
|
||||
Catcher.X = newPosition;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user