mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 10:43:04 +08:00
Merge pull request #20013 from peppy/always-reprocess-beatmap-after-update
Always reprocess beatmaps after a user update request
This commit is contained in:
commit
eb3601b7ff
@ -55,7 +55,14 @@ namespace osu.Game.Beatmaps
|
|||||||
|
|
||||||
// If there were no changes, ensure we don't accidentally nuke ourselves.
|
// If there were no changes, ensure we don't accidentally nuke ourselves.
|
||||||
if (first.ID == original.ID)
|
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;
|
return first;
|
||||||
|
}
|
||||||
|
|
||||||
first.PerformWrite(updated =>
|
first.PerformWrite(updated =>
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user