Stickers: fuck

This commit is contained in:
NotAKidoS 2024-08-25 07:15:27 -05:00
parent 83c841f60f
commit f178994dfe

View file

@ -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);
}
}