Merge pull request #184 from xen-42/dev

Version 1.2.4
This commit is contained in:
Ben C 2022-06-10 14:25:11 -04:00 committed by GitHub
commit f05a26e6ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 6 deletions

View File

@ -41,7 +41,7 @@ namespace NewHorizons.Builder.Body
cloakFieldController._nearCloakRadius = radius * 800 / 3000f;
cloakFieldController._referenceFrameVolume = OWRB._attachedRFVolume;
cloakFieldController._exclusionSector = sector;
cloakFieldController._exclusionSector = null;
cloakFieldController._cloakSphereVolume = (sector?.transform ?? planetGO.transform).GetComponentInChildren<OWTriggerVolume>();
var cloakSectorController = newCloak.AddComponent<CloakSectorController>();

View File

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

View File

@ -3,7 +3,7 @@
"author": "xen, Bwc9876, & Book",
"name": "New Horizons",
"uniqueName": "xen.NewHorizons",
"version": "1.2.3",
"version": "1.2.4",
"owmlVersion": "2.3.3",
"conflicts": [ "Raicuparta.QuantumSpaceBuddies", "Vesper.AutoResume", "PacificEngine.OW_Randomizer" ],
"pathsToPreserve": [ "planets", "systems", "translations" ]