Fix triflers bug!

This commit is contained in:
Nick 2023-03-23 23:35:18 -04:00
parent 1b441d0c53
commit 74c1e80af9

View File

@ -98,7 +98,7 @@ namespace NewHorizons.Builder.Props
{ {
prop = GeneralPropBuilder.MakeFromPrefab(prefab, prefab.name, go, sector, detail); prop = GeneralPropBuilder.MakeFromPrefab(prefab, prefab.name, go, sector, detail);
StreamingHandler.SetUpStreaming(prop, sector); StreamingHandler.SetUpStreaming(prop, detail.keepLoaded ? null : sector);
// Could check this in the for loop but I'm not sure what order we need to know about this in // 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 isTorch = prop.GetComponent<VisionTorchItem>() != null;