mirror of
https://github.com/ppy/osu
synced 2024-12-12 18:07:52 +00:00
Default legacy decoder to General
section, rather than none
This is mainly to reach parity with how stable handles such cases for skins specifically. It was brought to our attention after finding a skin with a malformed `\[General]` tag which did not break further parsing of the file on stable, but did on lazer. Note that stable defaults to an "unknown" section for beatmaps, but functionally I can't think of a regression case from changing this to a "general" default.
This commit is contained in:
parent
ee6af1245c
commit
ab28948744
@ -27,7 +27,7 @@ namespace osu.Game.Beatmaps.Formats
|
||||
|
||||
protected override void ParseStreamInto(LineBufferedReader stream, T output)
|
||||
{
|
||||
Section section = Section.None;
|
||||
Section section = Section.General;
|
||||
|
||||
string line;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user