diff --git a/Assets/Scripts/Entities/Character.cs b/Assets/Scripts/Entities/Character.cs index b347f92..fd2b69f 100644 --- a/Assets/Scripts/Entities/Character.cs +++ b/Assets/Scripts/Entities/Character.cs @@ -90,8 +90,7 @@ namespace Cyber.Entities { /// /// public override void Deserialize(NetworkReader reader) { - Vector3 pos = reader.ReadVector3(); - transform.position.Set(pos.x, pos.y, pos.z); + transform.position = reader.ReadVector3(); Move(reader.ReadVector3()); Vector3 rot = reader.ReadVector3(); }