mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 08:27:49 +08:00
Fix storyboard animations stripping path directory on skin lookup
This commit is contained in:
parent
eaa748f075
commit
5597b48882
@ -129,7 +129,7 @@ namespace osu.Game.Storyboards.Drawables
|
||||
|
||||
// When reading from a skin, we match stables weird behaviour where `FrameCount` is ignored
|
||||
// and resources are retrieved until the end of the animation.
|
||||
var skinTextures = skin.GetTextures(Path.GetFileNameWithoutExtension(Animation.Path)!, default, default, true, string.Empty, null, out _);
|
||||
var skinTextures = skin.GetTextures(Path.ChangeExtension(Animation.Path, null), default, default, true, string.Empty, null, out _);
|
||||
|
||||
if (skinTextures.Length > 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user