mirror of https://github.com/ppy/osu
A few general fixes.
This commit is contained in:
parent
5e67bcb581
commit
1d4a371ded
|
@ -32,7 +32,7 @@ public static void Register()
|
|||
}
|
||||
|
||||
private SampleSet defaultSampleSet;
|
||||
private int defaultSampleVolume;
|
||||
private int defaultSampleVolume = 100;
|
||||
private bool samplesMatchPlaybackRate;
|
||||
|
||||
private readonly int beatmapVersion;
|
||||
|
@ -309,7 +309,7 @@ protected override void ParseFile(StreamReader stream, Beatmap beatmap)
|
|||
{
|
||||
beatmap.BeatmapInfo.BeatmapVersion = beatmapVersion;
|
||||
|
||||
HitObjectParser parser = null;
|
||||
HitObjectParser parser = new LegacyHitObjectParser();
|
||||
|
||||
Section section = Section.None;
|
||||
bool hasCustomColours = false;
|
||||
|
@ -343,7 +343,6 @@ protected override void ParseFile(StreamReader stream, Beatmap beatmap)
|
|||
{
|
||||
case Section.General:
|
||||
handleGeneral(beatmap, key, val);
|
||||
parser = new LegacyHitObjectParser();
|
||||
break;
|
||||
case Section.Editor:
|
||||
handleEditor(beatmap, key, val);
|
||||
|
|
Loading…
Reference in New Issue