Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: fix crash when second player selects player in online match second.#836

Merged
zicklag merged 1 commit intofishfolk:mainfrom
zicklag:fix/crash
Jul 8, 2023
Merged

fix: fix crash when second player selects player in online match second.#836
zicklag merged 1 commit intofishfolk:mainfrom
zicklag:fix/crash

Conversation

@zicklag
Copy link
Member

@zicklag zicklag commented Jul 8, 2023

There's an unexpected ConfirmSelection(true) network message sent to player 2, along with a mis-placed assertion that assumed the message was a map selection message.

This fixes the assertion, but leaves the warning about the unexpected network message un-addressed, except for a TODO comment explaining what's happening.

Fixes: #834

There's an unexpected `ConfirmSelection(true)` network message sent to
player to, along with a mis-placed assertion that assumed the message
was a map selection message.

This fixes the assertion, but leaves the warning about the unexpected
network message un-addressed, except for a TODO comment explaining
what's happening.

Fixes: fishfolk#834
@zicklag zicklag enabled auto-merge July 8, 2023 14:14
@zicklag zicklag added this pull request to the merge queue Jul 8, 2023
Merged via the queue into fishfolk:main with commit afad2cf Jul 8, 2023
@zicklag zicklag deleted the fix/crash branch July 8, 2023 14:19
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.

Mashing space on player other than player 0 in online game crashes

1 participant