mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 18:52:55 +08:00
Add back missing notification flow
This commit is contained in:
parent
448eee051a
commit
e66ccfd980
@ -62,6 +62,8 @@ namespace osu.Game.Beatmaps
|
|||||||
BeatmapTrackStore = audioManager.GetTrackStore(userResources);
|
BeatmapTrackStore = audioManager.GetTrackStore(userResources);
|
||||||
|
|
||||||
beatmapImporter = CreateBeatmapImporter(storage, realm, rulesets, onlineBeatmapLookupQueue);
|
beatmapImporter = CreateBeatmapImporter(storage, realm, rulesets, onlineBeatmapLookupQueue);
|
||||||
|
beatmapImporter.PostNotification = obj => PostNotification?.Invoke(obj);
|
||||||
|
|
||||||
workingBeatmapCache = CreateWorkingBeatmapCache(audioManager, gameResources, userResources, defaultBeatmap, host);
|
workingBeatmapCache = CreateWorkingBeatmapCache(audioManager, gameResources, userResources, defaultBeatmap, host);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,7 +37,10 @@ namespace osu.Game.Scoring
|
|||||||
this.difficulties = difficulties;
|
this.difficulties = difficulties;
|
||||||
this.configManager = configManager;
|
this.configManager = configManager;
|
||||||
|
|
||||||
scoreImporter = new ScoreImporter(rulesets, beatmaps, storage, realm);
|
scoreImporter = new ScoreImporter(rulesets, beatmaps, storage, realm)
|
||||||
|
{
|
||||||
|
PostNotification = obj => PostNotification?.Invoke(obj)
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
public Score GetScore(ScoreInfo score) => scoreImporter.GetScore(score);
|
public Score GetScore(ScoreInfo score) => scoreImporter.GetScore(score);
|
||||||
|
@ -77,7 +77,10 @@ namespace osu.Game.Skinning
|
|||||||
|
|
||||||
userFiles = new StorageBackedResourceStore(storage.GetStorageForDirectory("files"));
|
userFiles = new StorageBackedResourceStore(storage.GetStorageForDirectory("files"));
|
||||||
|
|
||||||
skinImporter = new SkinImporter(storage, realm, this);
|
skinImporter = new SkinImporter(storage, realm, this)
|
||||||
|
{
|
||||||
|
PostNotification = obj => PostNotification?.Invoke(obj),
|
||||||
|
};
|
||||||
|
|
||||||
var defaultSkins = new[]
|
var defaultSkins = new[]
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user