Skip to content

bugfix(network): Sort command list fast path by sort number - #3052

Open
CryoTheRenegade wants to merge 1 commit into
TheSuperHackers:mainfrom
CryoTheRenegade:bugfix/netcommandlist-sort-number
Open

bugfix(network): Sort command list fast path by sort number#3052
CryoTheRenegade wants to merge 1 commit into
TheSuperHackers:mainfrom
CryoTheRenegade:bugfix/netcommandlist-sort-number

Conversation

@CryoTheRenegade

@CryoTheRenegade CryoTheRenegade commented Aug 2, 2026

Copy link
Copy Markdown

Changed the cached NetCommandList::addMessage insertion path to use getSortNumber(), matching the full list traversal.

For normal commands this is equivalent to getID(). ACK commands override it with the ID of the command being acknowledged, so using it consistently prevents incorrect ACK ordering.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NetCommandList::addMessage sorts messages by id using different functions

1 participant