mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
parent
3caaf7b916
commit
6c49034e1e
@ -134,9 +134,18 @@ namespace NewHorizons.Components.ShipLog
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
var path = Path.Combine("planets", uniqueID + ".png");
|
var mod = Main.SystemDict[uniqueID].Mod;
|
||||||
|
|
||||||
|
var path = Path.Combine("systems", uniqueID + ".png");
|
||||||
|
|
||||||
|
// Else check the old location
|
||||||
|
if (!File.Exists(Path.Combine(mod.ModHelper.Manifest.ModFolderPath, path)))
|
||||||
|
{
|
||||||
|
path = Path.Combine("planets", uniqueID + ".png");
|
||||||
|
}
|
||||||
|
|
||||||
NHLogger.LogVerbose($"ShipLogStarChartManager - Trying to load {path}");
|
NHLogger.LogVerbose($"ShipLogStarChartManager - Trying to load {path}");
|
||||||
texture = ImageUtilities.GetTexture(Main.SystemDict[uniqueID].Mod, path);
|
texture = ImageUtilities.GetTexture(mod, path);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception) { }
|
catch (Exception) { }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user