mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Add tests and fix negative expected distances
This commit is contained in:
@ -262,6 +262,7 @@ namespace osu.Game.Rulesets.Objects
|
||||
{
|
||||
// The expected distance is negative or zero
|
||||
// TODO: Perhaps negative path lengths should be disallowed altogether
|
||||
cumulativeLength.Add(0);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user