mirror of
https://github.com/ppy/osu.git
synced 2026-05-26 06:49:54 +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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user