From be2369f4a1de73b873b0dd7788eaab8a0398c14d Mon Sep 17 00:00:00 2001 From: vis2k Date: Wed, 10 Mar 2021 20:58:35 +0800 Subject: [PATCH] forgot one --- Assets/Mirror/Components/NetworkAnimator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Mirror/Components/NetworkAnimator.cs b/Assets/Mirror/Components/NetworkAnimator.cs index 21874f8bc..964d3dc62 100644 --- a/Assets/Mirror/Components/NetworkAnimator.cs +++ b/Assets/Mirror/Components/NetworkAnimator.cs @@ -127,7 +127,7 @@ void CheckSpeed() { animatorSpeed = newSpeed; } - else if (NetworkClient.readyConnection != null) + else if (isClient) { CmdSetAnimatorSpeed(newSpeed); }