From 0bbae27e847264099c4dd0c377adcf6e6fdf7375 Mon Sep 17 00:00:00 2001 From: blank3times <105398129+blank3times@users.noreply.github.com> Date: Fri, 26 Jan 2024 00:01:35 -0800 Subject: [PATCH] Make the animator come from its object As if the object would be initialized, hah --- Assets/Scripts/Games/HoleInOne/HoleInOne.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/Games/HoleInOne/HoleInOne.cs b/Assets/Scripts/Games/HoleInOne/HoleInOne.cs index 50a7435d3..0a052c869 100644 --- a/Assets/Scripts/Games/HoleInOne/HoleInOne.cs +++ b/Assets/Scripts/Games/HoleInOne/HoleInOne.cs @@ -56,7 +56,7 @@ namespace HeavenStudio.Games void Awake() { HoleInOne.instance = this; - MonkeyAnimator = GetComponent(); + MonkeyAnimator = Monkey.GetComponent(); } public void DoTestAnim(double beat)