mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 21:47:25 +08:00
Merge pull request #19013 from peppy/fix-param-naming
Fix incorrect case in `CatcherArea` parameter
This commit is contained in:
commit
8f63592d6b
@ -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