osu/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
..
Audio
Beatmaps Fix difficulty creation flow failing for some ruleset combinations 2023-01-14 19:46:55 +01:00
Collections
Configuration
Database Merge pull request #21739 from integerrr/score-export-date 2023-01-10 23:33:38 +09:00
Extensions
Graphics Merge branch 'master' into ui/segmented-graph 2023-01-12 19:02:49 +09:00
IO
IPC
Input
Localisation Revert "Use existing string" 2023-01-14 02:42:04 +03:00
Models
Online Fix `GroupBadge` crashing on `null` group colour 2023-01-14 02:23:08 +03:00
Overlays Merge branch 'master' into move-overlay-ruleset-selectors 2023-01-14 15:22:14 +01:00
Performance
Properties
Replays
Rulesets Use property instead of ctor parameter 2023-01-12 23:26:29 +03:00
Scoring Remove verbose log from notifications feed 2023-01-10 13:31:29 +03:00
Screens Merge branch 'master' into 18469 2023-01-14 19:53:08 +09:00
Skinning Fix incorrect application layer causing completely discoloured circles 2023-01-11 19:29:17 +09:00
Storyboards
Tests
Updater
Users Set border colour to white 2023-01-14 01:12:17 +03:00
Utils
.editorconfig
BackgroundBeatmapProcessor.cs
OsuGame.cs Fix game-level components finishing load after content 2023-01-11 22:02:06 +03:00
OsuGameBase.cs Avoid changing target content midway through code 2023-01-12 09:48:38 +03:00
OsuGameBase_Importing.cs
PerformFromMenuRunner.cs
osu!.res
osu.Game.csproj