mirror of
https://github.com/ppy/osu
synced 2024-12-16 20:05:41 +00:00
Remove misleading comments
This commit is contained in:
parent
feef4b1890
commit
f1dbcc4f1a
@ -548,12 +548,10 @@ namespace osu.Game.Beatmaps
|
||||
|
||||
public void UpdateContent(BeatmapInfo beatmapInfo, Stream newData)
|
||||
{
|
||||
// let's only allow one concurrent update at a time for now.
|
||||
var context = createContext();
|
||||
|
||||
using (var transaction = context.BeginTransaction())
|
||||
{
|
||||
// create local stores so we can isolate and thread safely, and share a context/transaction.
|
||||
var setInfo = beatmapInfo.BeatmapSet;
|
||||
var existingSetFileInfo = setInfo.Files.First(f => f.FileInfo.Hash == beatmapInfo.Hash);
|
||||
var existingFileInfo = existingSetFileInfo.FileInfo;
|
||||
|
Loading…
Reference in New Issue
Block a user