osu/osu.Game/Beatmaps
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
..
ControlPoints Use new ArgumentNullException.ThrowIfNull throw-helper API 2022-12-22 21:27:59 +01:00
Drawables Merge branch 'master' into overlay-panels-context-menu 2023-01-09 19:04:56 +09:00
Formats Fix editor exporting beatmap combo colours in wrong order 2023-01-03 13:41:08 +03:00
Legacy
Timing Remove various simple obsoletions 2022-10-28 13:20:58 +09:00
APIFailTimes.cs
BeatSyncProviderExtensions.cs
Beatmap.cs Fix two implementation oversights 2022-12-02 16:05:14 +09:00
BeatmapConverter.cs Fix control points not being cloned when running beatmap conversion 2022-11-01 17:42:09 +09:00
BeatmapDifficulty.cs
BeatmapDifficultyCache.cs Partial everything 2022-11-27 00:00:27 +09:00
BeatmapImporter.cs Fix incorrect `ConfigureAwait` call in `ImportAsUpdate` 2022-12-16 18:54:56 +09:00
BeatmapInfo.cs Remove various simple obsoletions 2022-10-28 13:20:58 +09:00
BeatmapInfoExtensions.cs
BeatmapManager.cs Fix difficulty creation flow failing for some ruleset combinations 2023-01-14 19:46:55 +01:00
BeatmapMetadata.cs
BeatmapMetadataInfoExtensions.cs
BeatmapModelDownloader.cs
BeatmapOnlineChangeIngest.cs Partial everything 2022-11-27 00:00:27 +09:00
BeatmapOnlineStatus.cs
BeatmapProcessor.cs
BeatmapSetHypeStatus.cs
BeatmapSetInfo.cs
BeatmapSetInfoExtensions.cs
BeatmapSetNominationStatus.cs
BeatmapSetOnlineAvailability.cs
BeatmapSetOnlineCovers.cs
BeatmapSetOnlineGenre.cs
BeatmapSetOnlineLanguage.cs
BeatmapSetOnlineNomination.cs Move and rename nomination response model to singular 2023-01-07 10:54:48 -08:00
BeatmapStatistic.cs
BeatmapStatisticIcon.cs Partial everything 2022-11-27 00:00:27 +09:00
BeatmapUpdater.cs
BeatmapUpdaterMetadataLookup.cs Fix the MOTHERLOAD of undetected issues that are now visible thanks to net6.0 2022-12-16 18:16:26 +09:00
BeatmapUserSettings.cs
CountdownType.cs
DifficultyRating.cs
DifficultyRecommender.cs Fix the MOTHERLOAD of undetected issues that are now visible thanks to net6.0 2022-12-16 18:16:26 +09:00
DummyWorkingBeatmap.cs
FlatFileWorkingBeatmap.cs
FramedBeatmapClock.cs Partial everything 2022-11-27 00:00:27 +09:00
IBeatSyncProvider.cs
IBeatmap.cs Fix multiple instances of last hitobject time being calculated incorrectly 2022-12-01 18:04:06 +09:00
IBeatmapConverter.cs
IBeatmapDifficultyInfo.cs
IBeatmapInfo.cs
IBeatmapMetadataInfo.cs
IBeatmapOnlineInfo.cs
IBeatmapProcessor.cs
IBeatmapResourceProvider.cs
IBeatmapSetInfo.cs
IBeatmapSetOnlineInfo.cs
IWorkingBeatmap.cs Rename parameter to read better 2022-10-12 14:46:35 +09:00
IWorkingBeatmapCache.cs
MetadataUtils.cs
StarDifficulty.cs
WorkingBeatmap.cs Dispose previous waveform on track reload 2022-12-23 00:35:59 +03:00
WorkingBeatmapCache.cs Add todo regarding validity check 2022-12-12 13:44:09 +09:00