From 9558ee871fb31c2bee02865b385093da18500421 Mon Sep 17 00:00:00 2001 From: Noah Pilarski Date: Sun, 19 Jun 2022 23:09:01 -0400 Subject: [PATCH] Fix warp exit rotation not working --- NewHorizons/Handlers/VesselWarpHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NewHorizons/Handlers/VesselWarpHandler.cs b/NewHorizons/Handlers/VesselWarpHandler.cs index 619bf1a0..16a336d5 100644 --- a/NewHorizons/Handlers/VesselWarpHandler.cs +++ b/NewHorizons/Handlers/VesselWarpHandler.cs @@ -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()._labelID = (UITextType)TranslationHandler.AddUI("VESSEL");