mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Fix approach rate not being transferred from OD on older beatmaps
This commit is contained in:
@ -311,10 +311,13 @@ namespace osu.Game.Beatmaps.Formats
|
||||
|
||||
case @"OverallDifficulty":
|
||||
difficulty.OverallDifficulty = Parsing.ParseFloat(pair.Value);
|
||||
if (!hasApproachRate)
|
||||
difficulty.ApproachRate = difficulty.OverallDifficulty;
|
||||
break;
|
||||
|
||||
case @"ApproachRate":
|
||||
difficulty.ApproachRate = Parsing.ParseFloat(pair.Value);
|
||||
hasApproachRate = true;
|
||||
break;
|
||||
|
||||
case @"SliderMultiplier":
|
||||
@ -432,6 +435,7 @@ namespace osu.Game.Beatmaps.Formats
|
||||
private readonly List<ControlPoint> pendingControlPoints = new List<ControlPoint>();
|
||||
private readonly HashSet<Type> pendingControlPointTypes = new HashSet<Type>();
|
||||
private double pendingControlPointsTime;
|
||||
private bool hasApproachRate;
|
||||
|
||||
private void addControlPoint(double time, ControlPoint point, bool timingChange)
|
||||
{
|
||||
|
Reference in New Issue
Block a user