mirror of
https://github.com/ppy/osu.git
synced 2025-02-14 19:53:08 +08:00
Fix DrawableStoryboardVideo
attempting to unmap path once too much
The `StoryboardResourceLookupStore` cached at storyboard level is supposed to already be handling that; no need for local logic anymore.
This commit is contained in:
parent
ba518e1da8
commit
641e651bf2
@ -29,12 +29,7 @@ namespace osu.Game.Storyboards.Drawables
|
||||
[BackgroundDependencyLoader(true)]
|
||||
private void load(IBindable<WorkingBeatmap> beatmap, TextureStore textureStore)
|
||||
{
|
||||
string? path = beatmap.Value.BeatmapSetInfo?.GetPathForFile(Video.Path);
|
||||
|
||||
if (path == null)
|
||||
return;
|
||||
|
||||
var stream = textureStore.GetStream(path);
|
||||
var stream = textureStore.GetStream(Video.Path);
|
||||
|
||||
if (stream == null)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user