From 8a94a1b2cc5b83d7caf7fe6d502a448ef2dbe7aa Mon Sep 17 00:00:00 2001 From: TheMathGeek_314 <16294237+TheMathGeek314@users.noreply.github.com> Date: Wed, 21 Aug 2024 18:06:53 -0500 Subject: [PATCH] Fixed the render priority of a reset Millibelle --- MilliGolf.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MilliGolf.cs b/MilliGolf.cs index bfabae7..293f140 100644 --- a/MilliGolf.cs +++ b/MilliGolf.cs @@ -34,7 +34,7 @@ public class MilliGolf: Mod, ILocalSettings { public static PlayMakerFSM areaTitleRef; new public string GetName() => "MilliGolf"; - public override string GetVersion() => "1.1.0.0"; + public override string GetVersion() => "1.1.0.1"; public static LocalGolfSettings golfData { get; set; } = new(); public void OnLoadLocal(LocalGolfSettings g) => golfData = g; @@ -1208,6 +1208,7 @@ public override void OnEnter() { GameObject.Destroy(MilliGolf.millibelleRef.gameObject); MilliGolf.millibelleRef = GameObject.Instantiate(MilliGolf.prefabs["Ruins_Bathhouse"]["Banker Spa NPC"], gScene.millibelleSpawn, Quaternion.identity); MilliGolf.millibelleRef.SetActive(true); + MilliGolf.millibelleRef.GetComponent().sortingOrder = 1; MilliGolf.currentScore = 0; if(MilliGolf.ballCam == 1) { typeof(CameraTarget).GetField("heroTransform", BindingFlags.NonPublic | BindingFlags.Instance).SetValue(GameCameras.instance.cameraTarget, MilliGolf.millibelleRef.transform);