goofy ahh

This commit is contained in:
JohnCorby 2022-05-24 23:07:26 -07:00
parent c0ed8b17f5
commit 421c6b624c

View File

@ -144,9 +144,9 @@ namespace NewHorizons.Builder.Props
}
// Fix slide reel
if (component is SlideCollectionContainer)
if (component is SlideCollectionContainer container)
{
sector.OnOccupantEnterSector.AddListener((_) => (component as SlideCollectionContainer).LoadStreamingTextures());
sector.OnOccupantEnterSector.AddListener(_ => container.LoadStreamingTextures());
}
if (component is OWItemSocket socket)