diff --git a/NowWatching/NowWatching.cs b/NowWatching/NowWatching.cs index de49c40..3b53ea7 100644 --- a/NowWatching/NowWatching.cs +++ b/NowWatching/NowWatching.cs @@ -29,7 +29,7 @@ public static class BuildInfo { public const string Name = "NowWatching"; public const string Author = "ballfun"; - public const string Version = "0.2.1"; + public const string Version = "0.2.2"; } public class Mod : MelonMod @@ -94,12 +94,12 @@ public override void OnUpdate() { if (LastPlay != null && (WatchUI.IsUIOpen || AutoFetch.Value) && LastPlay.UpdateNeeded) { - WatchUI.UpdateInfo(); LastPlay.UpdateNeeded = false; - if (!LastPlay.ThumbnailRequested) + if (!LastPlay.ThumbnailRequested&&!LastPlay.ThumbnailFetched) { GetThumbnail(ref LastPlay); } + WatchUI.UpdateInfo(); } } @@ -202,7 +202,7 @@ static void GetThumbnail(ref VidLog log) static IEnumerator DownloadImage(VidLog log) { - if (log.ThumbnailRequested) + if (log.ThumbnailRequested||log.ThumbnailFetched) { yield break; }