mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
force call SunLightEffectsController.Update to make it switch star
This commit is contained in:
parent
fb4f425100
commit
b50cc53a4d
@ -78,6 +78,9 @@ namespace NewHorizons.Handlers
|
|||||||
gameObject.SetActive(false);
|
gameObject.SetActive(false);
|
||||||
}
|
}
|
||||||
GameObject.FindObjectOfType<SunProxy>().gameObject.SetActive(false);
|
GameObject.FindObjectOfType<SunProxy>().gameObject.SetActive(false);
|
||||||
|
|
||||||
|
// force call update here to make it switch to an active star. idk why we didnt have to do this before
|
||||||
|
SunLightEffectsController.Instance.Update();
|
||||||
}, 2); // Have to wait or shit goes wild
|
}, 2); // Have to wait or shit goes wild
|
||||||
|
|
||||||
foreach (var streamingAssetBundle in StreamingManager.s_activeBundles)
|
foreach (var streamingAssetBundle in StreamingManager.s_activeBundles)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user