Merge pull request #1339 from sunghwan2789/decoder-improve

Trim end of line
This commit is contained in:
Dan Balasescu
2017-10-08 19:07:04 +09:00
committed by GitHub

View File

@ -611,7 +611,7 @@ namespace osu.Game.Beatmaps.Formats
CommandTimelineGroup timelineGroup = null;
string line;
while ((line = stream.ReadLine()) != null)
while ((line = stream.ReadLine()?.Trim()) != null)
{
if (string.IsNullOrEmpty(line))
continue;