From f178994dfec1efbd31a54e76b16f6f88f2ff9a14 Mon Sep 17 00:00:00 2001 From: NotAKidoS <37721153+NotAKidoS@users.noreply.github.com> Date: Sun, 25 Aug 2024 07:15:27 -0500 Subject: [PATCH] Stickers: fuck --- Stickers/Stickers/Utilities/StickerCache.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Stickers/Stickers/Utilities/StickerCache.cs b/Stickers/Stickers/Utilities/StickerCache.cs index d01b59e..59e8fc4 100644 --- a/Stickers/Stickers/Utilities/StickerCache.cs +++ b/Stickers/Stickers/Utilities/StickerCache.cs @@ -140,7 +140,7 @@ public static class StickerCache imageStream.Dispose(); return false; } - + PrepareIconFromMemoryStream(ModSettings.ModName, relativePathWithoutExtension, imageStream); imageStream.Dispose(); return true; @@ -154,9 +154,10 @@ public static class StickerCache } else { - iconPath = UIUtils.GetCleanString(iconPath); + //iconPath = UIUtils.GetCleanString(iconPath); iconPath = Path.Combine(ThumbnailPath, iconPath); File.WriteAllBytes(iconPath + ".png", destination.ToArray()); + //StickerMod.Logger.Msg("Prepared icon: " + iconPath); } }