mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 17:07:38 +08:00
Merge pull request #8217 from smoogipoo/limit-max-slider-length
Add more sane limit for maximum slider length
This commit is contained in:
commit
fcbf83cd74
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user