put ship warp audio on Environment track so it wont complain

This commit is contained in:
JohnCorby 2022-06-08 12:44:46 -07:00
parent 68f2b3e402
commit a8e519e690

View File

@ -38,7 +38,10 @@ namespace NewHorizons.Components
_isWarpingIn = false; _isWarpingIn = false;
gameObject.SetActive(false);
_oneShotSource = base.gameObject.AddComponent<OWAudioSource>(); _oneShotSource = base.gameObject.AddComponent<OWAudioSource>();
_oneShotSource._track = OWAudioMixer.TrackName.Environment;
gameObject.SetActive(true);
GlobalMessenger.AddListener("FinishOpenEyes", new Callback(OnFinishOpenEyes)); GlobalMessenger.AddListener("FinishOpenEyes", new Callback(OnFinishOpenEyes));
} }