mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
make it match the path below
This commit is contained in:
parent
de8470e595
commit
23feed8b6f
@ -488,7 +488,7 @@ namespace NewHorizons.Builder.Props
|
||||
invertedImageLoader.PathsToLoad.Add((i, Path.Combine(mod.ModHelper.Manifest.ModFolderPath, INVERTED_SLIDE_CACHE_FOLDER, slideInfo.imagePath)));
|
||||
invertedImageLoader.imageLoadedEvent.AddListener((Texture2D t, int i, string s) =>
|
||||
{
|
||||
var path = Path.Combine(mod.ModHelper.Manifest.ModFolderPath, slides[i].imagePath);
|
||||
var path = Path.Combine(mod.ModHelper.Manifest.ModFolderPath, slideInfo.imagePath);
|
||||
var key = $"{ImageUtilities.GetKey(path)} > invert";
|
||||
ImageUtilities.TrackCachedTexture(key, t);
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user