mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Update all usages of CreateContext
to use either Run
or Write
This commit is contained in:
@ -103,10 +103,10 @@ namespace osu.Game.Beatmaps
|
||||
|
||||
public void Update(BeatmapSetInfo item)
|
||||
{
|
||||
ContextFactory.Run(realm =>
|
||||
ContextFactory.Write(realm =>
|
||||
{
|
||||
var existing = realm.Find<BeatmapSetInfo>(item.ID);
|
||||
realm.Write(r => item.CopyChangesToRealm(existing));
|
||||
item.CopyChangesToRealm(existing);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user