mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Log missing decal path (#397)
This commit is contained in:
commit
329377098c
@ -106,7 +106,9 @@ namespace NewHorizons.Builder.Props
|
|||||||
|
|
||||||
var id = RemoteHandler.GetPlatformID(info.id);
|
var id = RemoteHandler.GetPlatformID(info.id);
|
||||||
|
|
||||||
var decal = ImageUtilities.GetTexture(mod, info.decalPath, false, false);
|
Texture2D decal = Texture2D.whiteTexture;
|
||||||
|
if (!string.IsNullOrWhiteSpace(info.decalPath)) decal = ImageUtilities.GetTexture(mod, info.decalPath, false, false);
|
||||||
|
else Logger.LogError($"Missing decal path on [{info.id}] for [{go.name}]");
|
||||||
|
|
||||||
if (info.platform != null)
|
if (info.platform != null)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user