mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Dont use obsolete guy
This commit is contained in:
parent
4c9f1fd7a7
commit
f1d1d2952d
@ -135,7 +135,7 @@ namespace NewHorizons.Builder.Props
|
||||
var id = RemoteHandler.GetPlatformID(remoteInfo.id);
|
||||
|
||||
Texture2D decal = Texture2D.whiteTexture;
|
||||
if (!string.IsNullOrWhiteSpace(remoteInfo.decalPath)) decal = ImageUtilities.GetTexture(mod, remoteInfo.decalPath, false, false);
|
||||
if (!string.IsNullOrWhiteSpace(remoteInfo.decalPath)) decal = ImageUtilities.GetTexture(mod, remoteInfo.decalPath, false, false, false);
|
||||
else NHLogger.LogError($"Missing decal path on [{remoteInfo.id}] for [{go.name}]");
|
||||
|
||||
PropBuildManager.MakeGeneralProp(go, remoteInfo.platform, (platform) => MakePlatform(go, sector, id, decal, platform, mod), (platform) => remoteInfo.id);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user