naia-lib / naia

a cross-platform (including Wasm!) networking library built in Rust. Intended to make multiplayer game development dead-simple & lightning-fast
Apache License 2.0
857 stars 61 forks source link

Fix: CommandHistory replay is reversed. #183

Open dycoon opened 1 year ago

dycoon commented 1 year ago

I am attempting to implement a directional movement feature with naia. However, I've encountered an issue where the order of the CommandHistory replay is reversed. I believe this needs to be fixed.

insertion order:

expected order:

actual replay order (reversed):