Fix right bound not being applied correctly

This commit is contained in:
smoogipoo
2020-08-20 20:25:40 +09:00
parent ff0dec3dd9
commit c89509aca0
4 changed files with 39 additions and 1 deletions

View File

@ -179,7 +179,7 @@ namespace osu.Game.Rulesets.Catch.Beatmaps
if (amount > 0)
{
// Clamp to the right bound
if (position + amount < 1)
if (position + amount < CatchPlayfield.WIDTH)
position += amount;
}
else