diff --git a/TwitchDownloaderCore/TwitchHelper.cs b/TwitchDownloaderCore/TwitchHelper.cs index 637b821d..6a4a893b 100644 --- a/TwitchDownloaderCore/TwitchHelper.cs +++ b/TwitchDownloaderCore/TwitchHelper.cs @@ -89,7 +89,7 @@ public static List GetThirdPartyEmotes(int streamerId, string c { MemoryStream ms = new MemoryStream(emoteData.data); SKCodec codec = SKCodec.Create(ms); - ThirdPartyEmote newEmote = new ThirdPartyEmote(new List() { SKBitmap.Decode(emoteData.data) }, codec, emoteData.name, codec.FrameCount == 1 ? "png" : "gif", "", emoteData.imageScale, emoteData.data); + ThirdPartyEmote newEmote = new ThirdPartyEmote(new List() { SKBitmap.Decode(emoteData.data) }, codec, emoteData.name, codec.FrameCount == 0 ? "png" : "gif", "", emoteData.imageScale, emoteData.data); returnList.Add(newEmote); } catch { }