mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 06:19:22 +00:00
Stickers: fuck
This commit is contained in:
parent
83c841f60f
commit
f178994dfe
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue