Merge pull request #8217 from smoogipoo/limit-max-slider-length

Add more sane limit for maximum slider length
This commit is contained in:
Dean Herbert
2020-03-14 15:08:39 +09:00
committed by GitHub

View File

@ -126,7 +126,7 @@ namespace osu.Game.Rulesets.Objects.Legacy
if (split.Length > 7)
{
length = Math.Max(0, Parsing.ParseDouble(split[7]));
length = Math.Max(0, Parsing.ParseDouble(split[7], Parsing.MAX_COORDINATE_VALUE));
if (length == 0)
length = null;
}