mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 07:42:57 +08:00
Merge pull request #26599 from frenzibyte/fix-storyboard-sprites-3
Fix storyboard animations stripping path directory on skin lookup
This commit is contained in:
commit
dd24b15c90
@ -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