diff --git a/Assets/Mirror/Components/NetworkAnimator.cs b/Assets/Mirror/Components/NetworkAnimator.cs
index 4f93d376e..da30206a1 100644
--- a/Assets/Mirror/Components/NetworkAnimator.cs
+++ b/Assets/Mirror/Components/NetworkAnimator.cs
@@ -299,11 +299,11 @@ void ReadParameters(NetworkReader reader)
/// Custom Serialization
///
///
- ///
+ ///
///
- public override bool OnSerialize(NetworkWriter writer, bool forceAll)
+ public override bool OnSerialize(NetworkWriter writer, bool initialState)
{
- if (forceAll)
+ if (initialState)
{
for (int i = 0; i < animator.layerCount; i++)
{
@@ -320,7 +320,7 @@ public override bool OnSerialize(NetworkWriter writer, bool forceAll)
writer.WriteSingle(st.normalizedTime);
}
}
- WriteParameters(writer, forceAll);
+ WriteParameters(writer, initialState);
return true;
}
return false;