osukey/osu.Game
Bartłomiej Dach a9facc076f
Fix difficulty creation flow failing for some ruleset combinations
In current `master`, the difficulty creation flow would retrieve a
"reference beatmap" to copy metadata and timing points from using
`GetPlayableBeatmap()`. But, importantly, it was calling that method
using *the ruleset of the new difficulty* rather than the ruleset of the
existing one. This would make the difficulty creation flow fail if the
beatmap couldn't be converted between rulesets (like taiko to catch).

Fixing to use the reference beatmap's actual ruleset would be trivial,
but there's no real reason to do all of that work anyway when a
`WorkingBeatmap` is available. Because getting a playable beatmap is not
required to copy across metadata and timing points, remove the
`GetPlayableBeatmap()` step entirely to fix the bug.

Closes #22145.
2023-01-14 19:46:55 +01:00
..
2022-11-27 00:00:27 +09:00
2022-11-27 00:00:27 +09:00
2022-12-29 22:35:13 +08:00
2023-01-14 02:42:04 +03:00
2022-11-27 00:00:27 +09:00
2022-09-18 17:55:06 -07:00
2023-01-14 19:53:08 +09:00
2023-01-01 18:50:47 +01:00
2022-11-27 00:00:27 +09:00
2023-01-14 01:12:17 +03:00
2022-11-27 00:00:27 +09:00