From 016323b942a488e0a248cc09a2313d6c9add845a Mon Sep 17 00:00:00 2001 From: Mikal Stordal Date: Mon, 25 Nov 2024 23:36:33 +0100 Subject: [PATCH] fix: fix inverse bool logic MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit …I will learn to pay closer attention to the logical state needed to continue the branch someday, but that way was not 2 days ago. --- Shoko.Server/Providers/AniDB/HTTP/AnimeCreator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shoko.Server/Providers/AniDB/HTTP/AnimeCreator.cs b/Shoko.Server/Providers/AniDB/HTTP/AnimeCreator.cs index 9d98e9030..91ddd1c08 100644 --- a/Shoko.Server/Providers/AniDB/HTTP/AnimeCreator.cs +++ b/Shoko.Server/Providers/AniDB/HTTP/AnimeCreator.cs @@ -747,7 +747,7 @@ public static bool CreateTags(List tags, SVR_AniDB_Anime anime) continue; var tag = FindOrCreateTag(rawtag); - if (newTagIDs.Add(tag.TagID)) + if (!newTagIDs.Add(tag.TagID)) continue; tagsToSave.Add(tag);