mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Used the wrong method
This commit is contained in:
parent
6a4e670a51
commit
0991b36d67
@ -70,7 +70,8 @@ namespace NewHorizons.Builder.Props
|
|||||||
|
|
||||||
StreamingHandler.SetUpStreaming(prop, sector);
|
StreamingHandler.SetUpStreaming(prop, sector);
|
||||||
|
|
||||||
var isTorch = prop.GetComponentInChildren<VisionTorchItem>() != null;
|
// Could check this in the for loop but I'm not sure what order we need to know about this in
|
||||||
|
var isTorch = prop.GetComponent<VisionTorchItem>() != null;
|
||||||
var isItem = false;
|
var isItem = false;
|
||||||
|
|
||||||
foreach (var component in prop.GetComponentsInChildren<Component>(true))
|
foreach (var component in prop.GetComponentsInChildren<Component>(true))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user