6 Years Ago
Fixed a tricky bug where characters sometimes spawned with the wrong view direction, it having been seemingly reset to zero sometime before the server first serialized it. Explanation: - Server set initial eye direction. - Server queued up a default input state as a starting point into the inputs buffer. This had a 0 angle view. - Server maybe processed one input tick, depending on timing. - Server serialized. - Client set view angle to whatever the server sent, and from then on, data matched. If the default state tick happened BEFORE server serialized, the view angle would get sent to the client as zero and mess it up. Fixed by just not queueing a default state on server. Seems to be unneeded per my testing.