mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 02:13:21 +08:00
Always write [HitObjects] to file
I think this is expected. If not, there's an alternative solution.
This commit is contained in:
parent
c2a5fd2832
commit
c5b6908e71
@ -235,11 +235,11 @@ namespace osu.Game.Beatmaps.Formats
|
||||
|
||||
private void handleHitObjects(TextWriter writer)
|
||||
{
|
||||
writer.WriteLine("[HitObjects]");
|
||||
|
||||
if (beatmap.HitObjects.Count == 0)
|
||||
return;
|
||||
|
||||
writer.WriteLine("[HitObjects]");
|
||||
|
||||
foreach (var h in beatmap.HitObjects)
|
||||
handleHitObject(writer, h);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user