Fix formatting, make StripComments protected

Don't strip comments when calling ParseLine
This commit is contained in:
morguldir 2018-07-16 16:35:55 +02:00
parent 429306aa87
commit fc77e01ba9
2 changed files with 3 additions and 2 deletions

View File

@ -89,7 +89,7 @@ namespace osu.Game.Beatmaps.Formats
return;
}
base.ParseLine(beatmap, section, strippedLine);
base.ParseLine(beatmap, section, line);
}
private void handleGeneral(string line)

View File

@ -66,7 +66,8 @@ namespace osu.Game.Beatmaps.Formats
return;
}
}
internal string StripComments(string line)
protected string StripComments(string line)
{
var index = line.IndexOf("//", StringComparison.Ordinal);
if (index > 0)