mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 06:36:31 +09:00
Fix formatting, make StripComments protected
Don't strip comments when calling ParseLine
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user