mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Fixed Ship Going Haywire In Start()
This commit is contained in:
parent
b67207555f
commit
a1026e72ad
@ -38,10 +38,8 @@ namespace NewHorizons.Components
|
|||||||
|
|
||||||
_isWarpingIn = false;
|
_isWarpingIn = false;
|
||||||
|
|
||||||
gameObject.SetActive(false);
|
_oneShotSource = gameObject.AddComponent<OWAudioSource>();
|
||||||
_oneShotSource = base.gameObject.AddComponent<OWAudioSource>();
|
|
||||||
_oneShotSource._track = OWAudioMixer.TrackName.Ship;
|
_oneShotSource._track = OWAudioMixer.TrackName.Ship;
|
||||||
gameObject.SetActive(true);
|
|
||||||
|
|
||||||
GlobalMessenger.AddListener("FinishOpenEyes", new Callback(OnFinishOpenEyes));
|
GlobalMessenger.AddListener("FinishOpenEyes", new Callback(OnFinishOpenEyes));
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user