From 724dd8a07adac0198cd90bcdac91e06dc564b1f3 Mon Sep 17 00:00:00 2001 From: Pascal Serrarens Date: Wed, 22 Mar 2023 14:32:17 +0100 Subject: [PATCH] Fix typo --- Runtime/HumanoidControl/Scripts/HumanoidControl.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/HumanoidControl/Scripts/HumanoidControl.cs b/Runtime/HumanoidControl/Scripts/HumanoidControl.cs index 3da701a..1cb6d07 100644 --- a/Runtime/HumanoidControl/Scripts/HumanoidControl.cs +++ b/Runtime/HumanoidControl/Scripts/HumanoidControl.cs @@ -397,7 +397,7 @@ namespace Passer.Humanoid { } public virtual void LocalChangeAvatar(GameObject avatarPrefab) { - if (avatarPrefab == null)\ + if (avatarPrefab == null) return; Animator animator = avatarPrefab.GetComponent();