mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
use Path.Combine here too
This commit is contained in:
parent
2e759523e7
commit
bb4e7fca2a
@ -2,6 +2,7 @@ using NewHorizons.Handlers;
|
||||
using NewHorizons.Utility;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
@ -131,7 +132,7 @@ namespace NewHorizons.Components.ShipLog
|
||||
}
|
||||
else
|
||||
{
|
||||
var path = $"planets/{uniqueID}.png";
|
||||
var path = Path.Combine("planets", uniqueID + ".png");
|
||||
Logger.LogVerbose($"ShipLogStarChartManager - Trying to load {path}");
|
||||
texture = ImageUtilities.GetTexture(Main.SystemDict[uniqueID].Mod, path);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user