kill ignoresun entirely fuck it

This commit is contained in:
JohnCorby 2023-03-23 13:07:20 -07:00
parent fd43d86f1e
commit 83d86ff485
2 changed files with 5 additions and 1 deletions

View File

@ -3,6 +3,7 @@ using NewHorizons.Components;
using NewHorizons.External.Modules;
using NewHorizons.Handlers;
using NewHorizons.Utility;
using NewHorizons.Utility.OWUtilities;
using OWML.Common;
using System;
using System.Collections.Generic;
@ -103,6 +104,9 @@ namespace NewHorizons.Builder.Props
var isTorch = prop.GetComponent<VisionTorchItem>() != null;
isItem = false;
// IgnoreSun is just a shadow casting optimization for BH so we can get rid of it
if (go.layer == Layer.IgnoreSun) go.layer = Layer.Default;
foreach (var component in prop.GetComponentsInChildren<Component>(true))
{
// Components can come through as null here (yes, really),

View File

@ -355,7 +355,7 @@ namespace NewHorizons.Builder.Props.TranslatorText
alignRadial = info.alignRadial,
isRelativeToParent = info.isRelativeToParent,
parentPath = info.parentPath,
path = "TimberHearth_Body/Sector_TH/Sector_NomaiMines/Interactables_NomaiMines/Props_NOM_Whiteboard/Props_NOM_Whiteboard (1)",
path = "BrittleHollow_Body/Sector_BH/Sector_NorthHemisphere/Sector_NorthPole/Sector_HangingCity/Sector_HangingCity_District2/Interactables_HangingCity_District2/VisibleFrom_HangingCity/Props_NOM_Whiteboard (1)",
position = info.position,
rename = info.rename ?? "Props_NOM_Whiteboard",
rotation = info.rotation,