mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
NetworkAnimator: OnSerialize more obvious syntax (parameter is always true due to the 'if initialstate' above it)
This commit is contained in:
parent
7c87da9bc7
commit
35d1387c7a
@ -382,7 +382,7 @@ public override void OnSerialize(NetworkWriter writer, bool initialState)
|
||||
writer.WriteFloat(st.normalizedTime);
|
||||
writer.WriteFloat(animator.GetLayerWeight(i));
|
||||
}
|
||||
WriteParameters(writer, initialState);
|
||||
WriteParameters(writer, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user