mirror of
https://github.com/ppy/osu
synced 2025-01-10 08:09:40 +00:00
Fix formatting, make StripComments protected
Don't strip comments when calling ParseLine
This commit is contained in:
parent
429306aa87
commit
fc77e01ba9
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user