mirror of
https://github.com/ppy/osu
synced 2024-12-29 02:12:43 +00:00
Use ToString instead of Substring
This commit is contained in:
parent
50ab5a7d07
commit
eabb5a8701
@ -72,7 +72,7 @@ namespace osu.Game.Beatmaps.Formats
|
||||
++depth;
|
||||
}
|
||||
|
||||
line = line.Substring(depth);
|
||||
line = lineSpan.ToString();
|
||||
|
||||
decodeVariables(ref line);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user