We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 17b2ee1 + 5e04c71 commit 16e4e7bCopy full SHA for 16e4e7b
1 file changed
Source/MASFlightComputer.cs
@@ -1203,6 +1203,9 @@ public void Start()
1203
{
1204
if (HighLogic.LoadedSceneIsFlight)
1205
1206
+ audioObject = new GameObject();
1207
+ morseAudioObject = new GameObject();
1208
+
1209
additionalEC = 0.0f;
1210
rate = Mathf.Max(0.0f, rate);
1211
commandModule = part.FindModuleImplementing<ModuleCommand>();
@@ -1720,9 +1723,9 @@ private void UpdateLocalCrew()
1720
1723
#endregion
1721
1724
1722
1725
#region Audio Player
- GameObject audioObject = new GameObject();
1726
+ GameObject audioObject;
1727
AudioSource audioSource;
- GameObject morseAudioObject = new GameObject();
1728
+ GameObject morseAudioObject;
1729
AudioSource morseAudioSource;
1730
string morseSequence;
1731
float morseVolume;
0 commit comments