mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 05:52:54 +08:00
Always reprocess beatmaps after a user update request
This covers the rare case where metadata may have changed server-side but not the beatmap itself. Tested with the provided user database to resolve the issue. Closes #19976.
This commit is contained in:
parent
b56fbacaa6
commit
3eda284b03
@ -55,7 +55,14 @@ namespace osu.Game.Beatmaps
|
||||
|
||||
// If there were no changes, ensure we don't accidentally nuke ourselves.
|
||||
if (first.ID == original.ID)
|
||||
{
|
||||
first.PerformRead(s =>
|
||||
{
|
||||
// Re-run processing even in this case. We might have outdated metadata.
|
||||
ProcessBeatmap?.Invoke((s, false));
|
||||
});
|
||||
return first;
|
||||
}
|
||||
|
||||
first.PerformWrite(updated =>
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user