mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Persist DateAdded
over beatmap updates
This commit is contained in:
@ -38,6 +38,9 @@ namespace osu.Game.Beatmaps
|
||||
// but that isn't a guarantee (ie. if the .osu file doesn't have OnlineIDs populated).
|
||||
original.DeletePending = true;
|
||||
|
||||
// Transfer local values which should be persisted across a beatmap update.
|
||||
updated.DateAdded = original.DateAdded;
|
||||
|
||||
foreach (var beatmap in original.Beatmaps.ToArray())
|
||||
{
|
||||
var updatedBeatmap = updated.Beatmaps.FirstOrDefault(b => b.Hash == beatmap.Hash);
|
||||
|
Reference in New Issue
Block a user