Fix warp exit rotation not working

This commit is contained in:
Noah Pilarski 2022-06-19 23:09:01 -04:00
parent cc9895093e
commit 9558ee871f

View File

@ -133,7 +133,7 @@ namespace NewHorizons.Handlers
vesselWarpController._targetWarpPlatform.transform.localPosition = system.Config.warpExitPosition;
if (system.Config.warpExitRotation != null)
vesselObject.transform.localEulerAngles = system.Config.warpExitRotation;
vesselWarpController._targetWarpPlatform.transform.localEulerAngles = system.Config.warpExitRotation;
vesselObject.GetComponent<MapMarker>()._labelID = (UITextType)TranslationHandler.AddUI("VESSEL");