mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
comment
This commit is contained in:
parent
a322c72f9f
commit
3e9ff8c616
@ -375,7 +375,7 @@ namespace NewHorizons.Builder.Props
|
||||
}
|
||||
|
||||
slideCollectionContainer.slideCollection = slideCollection;
|
||||
slideCollectionContainer._playWithShipLogFacts = Array.Empty<string>();
|
||||
slideCollectionContainer._playWithShipLogFacts = Array.Empty<string>(); // else it NREs in container initialize
|
||||
|
||||
StreamingHandler.SetUpStreaming(projectorObj, sector);
|
||||
|
||||
|
||||
@ -27,7 +27,7 @@ public class NHSlideCollectionContainer : SlideCollectionContainer
|
||||
__instance._changeSlidesAllowed = true;
|
||||
__instance._initialized = true;
|
||||
__instance._slideCollection.isVision = __instance._owningItem == null;
|
||||
foreach (var factID in __instance._playWithShipLogFacts ?? Array.Empty<string>())
|
||||
foreach (var factID in __instance._playWithShipLogFacts)
|
||||
{
|
||||
var fact = Locator.GetShipLogManager().GetFact(factID);
|
||||
fact?.RegisterSlideCollection(__instance._slideCollection);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user