1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 19:53:23 +08:00

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; return;
} }
base.ParseLine(beatmap, section, strippedLine); base.ParseLine(beatmap, section, line);
} }
private void handleGeneral(string line) private void handleGeneral(string line)

View File

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