mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 05:22:54 +08:00
Merge pull request #1339 from sunghwan2789/decoder-improve
Trim end of line
This commit is contained in:
commit
b1a2da58bc
@ -611,7 +611,7 @@ namespace osu.Game.Beatmaps.Formats
|
|||||||
CommandTimelineGroup timelineGroup = null;
|
CommandTimelineGroup timelineGroup = null;
|
||||||
|
|
||||||
string line;
|
string line;
|
||||||
while ((line = stream.ReadLine()) != null)
|
while ((line = stream.ReadLine()?.Trim()) != null)
|
||||||
{
|
{
|
||||||
if (string.IsNullOrEmpty(line))
|
if (string.IsNullOrEmpty(line))
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user