mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Invert strangely negated condition
This commit is contained in:
@ -75,7 +75,7 @@ namespace osu.Game.Rulesets.Catch.Edit
|
||||
float upperBound = CatchPlayfield.WIDTH - maxX;
|
||||
// The inequality may be unsatisfiable if the objects were already out of bounds.
|
||||
// In that case, don't move objects at all.
|
||||
if (!(lowerBound <= upperBound))
|
||||
if (lowerBound > upperBound)
|
||||
return 0;
|
||||
|
||||
return Math.Clamp(deltaX, lowerBound, upperBound);
|
||||
|
Reference in New Issue
Block a user