mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
No more infinite load when warping back to Outer Wilds system with vessel (#908)
## Bug fixes - No more infinite load when warping back to Outer Wilds system with vessel
This commit is contained in:
commit
773ef3089f
@ -98,6 +98,9 @@ namespace NewHorizons.Handlers
|
|||||||
{
|
{
|
||||||
if (Instance.CurrentStarSystem == "SolarSystem")
|
if (Instance.CurrentStarSystem == "SolarSystem")
|
||||||
{
|
{
|
||||||
|
//Deactivate lock since we aren't in timber anymore
|
||||||
|
GameObject.Destroy(SearchUtilities.Find("TimberHearth_Body/StreamingGroup_TH").GetComponent<StreamingLock>());
|
||||||
|
|
||||||
// Deactivate village music because for some reason it still plays.
|
// Deactivate village music because for some reason it still plays.
|
||||||
SearchUtilities.Find("TimberHearth_Body/Sector_TH/Sector_Village/Volumes_Village/MusicVolume_Village").GetComponent<VillageMusicVolume>().Deactivate();
|
SearchUtilities.Find("TimberHearth_Body/Sector_TH/Sector_Village/Volumes_Village/MusicVolume_Village").GetComponent<VillageMusicVolume>().Deactivate();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user