mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 14:29:25 +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();
|
imageStream.Dispose();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
PrepareIconFromMemoryStream(ModSettings.ModName, relativePathWithoutExtension, imageStream);
|
PrepareIconFromMemoryStream(ModSettings.ModName, relativePathWithoutExtension, imageStream);
|
||||||
imageStream.Dispose();
|
imageStream.Dispose();
|
||||||
return true;
|
return true;
|
||||||
|
@ -154,9 +154,10 @@ public static class StickerCache
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
iconPath = UIUtils.GetCleanString(iconPath);
|
//iconPath = UIUtils.GetCleanString(iconPath);
|
||||||
iconPath = Path.Combine(ThumbnailPath, iconPath);
|
iconPath = Path.Combine(ThumbnailPath, iconPath);
|
||||||
File.WriteAllBytes(iconPath + ".png", destination.ToArray());
|
File.WriteAllBytes(iconPath + ".png", destination.ToArray());
|
||||||
|
//StickerMod.Logger.Msg("Prepared icon: " + iconPath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue