mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Fix caching the ship log slide projector
This commit is contained in:
parent
05a1596493
commit
c93ed5fc14
@ -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)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user