Fix caching the ship log slide projector

This commit is contained in:
xen-42 2025-02-13 18:37:01 -05:00
parent 05a1596493
commit c93ed5fc14

View File

@ -158,7 +158,7 @@ public class NHSlideCollection : SlideCollection
_pathsBeingLoaded.Remove(path);
if (_shipLogSlideProjector == null)
{
_shipLogSlideProjector = GameObject.FindObjectOfType<ShipLogSlideProjector>();
_shipLogSlideProjector = Resources.FindObjectsOfTypeAll<ShipLogSlideProjector>().FirstOrDefault();
}
if (_shipLogSlideProjector != null)
{