mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Fix taiko weird difficulty multiplier failing on double convert
This commit is contained in:
@ -28,7 +28,7 @@ namespace osu.Game.Beatmaps
|
||||
difficulty = value;
|
||||
|
||||
if (beatmapInfo != null)
|
||||
beatmapInfo.BaseDifficulty = new BeatmapDifficulty(difficulty);
|
||||
beatmapInfo.BaseDifficulty = difficulty.Clone();
|
||||
}
|
||||
}
|
||||
|
||||
@ -41,8 +41,8 @@ namespace osu.Game.Beatmaps
|
||||
{
|
||||
beatmapInfo = value;
|
||||
|
||||
if (beatmapInfo != null)
|
||||
Difficulty = new BeatmapDifficulty(beatmapInfo.BaseDifficulty);
|
||||
if (beatmapInfo?.BaseDifficulty != null)
|
||||
Difficulty = beatmapInfo.BaseDifficulty.Clone();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user