We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac32a67 commit fb30d6aCopy full SHA for fb30d6a
1 file changed
CustomShipLogModes/ShipLogItemList.cs
@@ -58,11 +58,11 @@ public static void CreatePrefab(ShipLogMapMode mapMode)
58
59
try
60
{
61
- itemList.photo.transform.parent.GetComponent<Image>().enabled = false;
+ itemList.photo.transform.parent.GetComponent<WorldSpaceMask>().showMaskGraphic = false;
62
}
63
catch (Exception e)
64
65
- // Just in case this is removed in next hotfix:
+ // Just in case this is removed in next hotfix (but it will probably disable the graphic like here):
66
// https://discord.com/channels/929708786027999262/929787137895854100/1156019963778314291 (Jeff)
67
CustomShipLogModes.Instance.ModHelper.Console.WriteLine("Couldn't disable mask image, ignoring: " + e, MessageType.Error);
68
0 commit comments