mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Fix multiple remaining warnings
This commit is contained in:
@ -31,8 +31,6 @@ namespace osu.Game.Beatmaps
|
||||
/// </summary>
|
||||
public readonly WorkingBeatmap DefaultBeatmap;
|
||||
|
||||
public BeatmapModelManager BeatmapManager { private get; set; }
|
||||
|
||||
private readonly AudioManager audioManager;
|
||||
private readonly IResourceStore<byte[]> resources;
|
||||
private readonly LargeTextureStore largeTextureStore;
|
||||
@ -87,8 +85,7 @@ namespace osu.Game.Beatmaps
|
||||
return working;
|
||||
|
||||
// TODO: FUCK THE WORLD :D
|
||||
if (beatmapInfo?.IsManaged == true)
|
||||
beatmapInfo = beatmapInfo.Detach();
|
||||
beatmapInfo = beatmapInfo.Detach();
|
||||
|
||||
workingCache.Add(working = new BeatmapManagerWorkingBeatmap(beatmapInfo, this));
|
||||
|
||||
@ -193,6 +190,9 @@ namespace osu.Game.Beatmaps
|
||||
{
|
||||
Storyboard storyboard;
|
||||
|
||||
if (BeatmapInfo.Path == null)
|
||||
return new Storyboard();
|
||||
|
||||
try
|
||||
{
|
||||
using (var stream = new LineBufferedReader(GetStream(BeatmapSetInfo.GetPathForFile(BeatmapInfo.Path))))
|
||||
|
Reference in New Issue
Block a user