mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
grrrrr
This commit is contained in:
parent
6e49af5abc
commit
5f65bb5360
@ -104,9 +104,6 @@ namespace NewHorizons.Builder.Props
|
|||||||
var isTorch = prop.GetComponent<VisionTorchItem>() != null;
|
var isTorch = prop.GetComponent<VisionTorchItem>() != null;
|
||||||
isItem = false;
|
isItem = false;
|
||||||
|
|
||||||
// IgnoreSun is just a shadow casting optimization for BH so we can get rid of it
|
|
||||||
if (prop.layer == Layer.IgnoreSun) prop.layer = Layer.Default;
|
|
||||||
|
|
||||||
foreach (var component in prop.GetComponentsInChildren<Component>(true))
|
foreach (var component in prop.GetComponentsInChildren<Component>(true))
|
||||||
{
|
{
|
||||||
// Components can come through as null here (yes, really),
|
// Components can come through as null here (yes, really),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user