mirror of
https://github.com/ppy/osu.git
synced 2025-03-22 00:07:19 +08:00
Add more sane limit for maximum slider length
This commit is contained in:
parent
42bc8bc50d
commit
758bb3711f
@ -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…
x
Reference in New Issue
Block a user