mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Merge pull request #8217 from smoogipoo/limit-max-slider-length
Add more sane limit for maximum slider length
This commit is contained in:
@ -126,7 +126,7 @@ namespace osu.Game.Rulesets.Objects.Legacy
|
|||||||
|
|
||||||
if (split.Length > 7)
|
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)
|
if (length == 0)
|
||||||
length = null;
|
length = null;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user