dont need to check CacheExists

This commit is contained in:
JohnCorby 2025-02-13 13:54:03 -08:00
parent 1d69fd063e
commit b1e64c1491

View File

@ -164,7 +164,7 @@ namespace NewHorizons.Builder.Props
var key = GetUniqueSlideReelID(mod, info.slides); var key = GetUniqueSlideReelID(mod, info.slides);
if (CacheExists(mod) && atlasImageLoader != null) if (atlasImageLoader != null)
{ {
atlasImageLoader.imageLoadedEvent.AddListener( atlasImageLoader.imageLoadedEvent.AddListener(
(Texture2D tex, int _, string originalPath) => (Texture2D tex, int _, string originalPath) =>
@ -585,7 +585,6 @@ namespace NewHorizons.Builder.Props
{ {
atlasImageLoader.Start(false, false); atlasImageLoader.Start(false, false);
} }
// When using the inverted cache we never need the regular images
if (useInvertedCache) if (useInvertedCache)
{ {
invertedImageLoader.Start(true, false); invertedImageLoader.Start(true, false);