mirror of
https://github.com/ppy/osu.git
synced 2025-02-06 04:53:06 +08:00
A few general fixes.
This commit is contained in:
parent
5e67bcb581
commit
1d4a371ded
@ -32,7 +32,7 @@ namespace osu.Game.Beatmaps.Formats
|
|||||||
}
|
}
|
||||||
|
|
||||||
private SampleSet defaultSampleSet;
|
private SampleSet defaultSampleSet;
|
||||||
private int defaultSampleVolume;
|
private int defaultSampleVolume = 100;
|
||||||
private bool samplesMatchPlaybackRate;
|
private bool samplesMatchPlaybackRate;
|
||||||
|
|
||||||
private readonly int beatmapVersion;
|
private readonly int beatmapVersion;
|
||||||
@ -309,7 +309,7 @@ namespace osu.Game.Beatmaps.Formats
|
|||||||
{
|
{
|
||||||
beatmap.BeatmapInfo.BeatmapVersion = beatmapVersion;
|
beatmap.BeatmapInfo.BeatmapVersion = beatmapVersion;
|
||||||
|
|
||||||
HitObjectParser parser = null;
|
HitObjectParser parser = new LegacyHitObjectParser();
|
||||||
|
|
||||||
Section section = Section.None;
|
Section section = Section.None;
|
||||||
bool hasCustomColours = false;
|
bool hasCustomColours = false;
|
||||||
@ -343,7 +343,6 @@ namespace osu.Game.Beatmaps.Formats
|
|||||||
{
|
{
|
||||||
case Section.General:
|
case Section.General:
|
||||||
handleGeneral(beatmap, key, val);
|
handleGeneral(beatmap, key, val);
|
||||||
parser = new LegacyHitObjectParser();
|
|
||||||
break;
|
break;
|
||||||
case Section.Editor:
|
case Section.Editor:
|
||||||
handleEditor(beatmap, key, val);
|
handleEditor(beatmap, key, val);
|
||||||
|
Loading…
Reference in New Issue
Block a user