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
911 stars 58 forks source link

Fix: CommandHistory replay is reversed. #183

Closed dycoon closed 2 months 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):

connorcarpenter commented 2 months ago

Fixed in Naia release 0.23.0, thank you @dycoon !