Remove redundant class name qualifier

This commit is contained in:
Bartłomiej Dach 2020-11-10 12:20:49 +01:00
parent ce837eaba0
commit 61093030ee
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ private void load(TextureStore textureStore, Storyboard storyboard)
for (int frameIndex = 0; frameIndex < Animation.FrameCount; frameIndex++)
{
string framePath = Animation.Path.Replace(".", frameIndex + ".");
Drawable frame = storyboard.CreateSpriteFromResourcePath(framePath, textureStore) ?? Drawable.Empty();
Drawable frame = storyboard.CreateSpriteFromResourcePath(framePath, textureStore) ?? Empty();
AddFrame(frame, Animation.FrameDelay);
}