plaza-in-a-heatwave / Cadesim

The cadesim server and client, inspired by Puzzle Pirates.
1 stars 1 forks source link

Sinking bug: occasionally ship doesn't officially sink until turn after. #74

Closed David52920 closed 4 years ago

David52920 commented 4 years ago

When a ship is sunk, the boat is gone but name of player and progress bar are shown, with user able to enter moves (but not move), flags are still counted by this player as well. Once finally sunk, game goes back to normal.

Unable to replicate.

After the first sink when this bug occurs, it seems to longer do it again.

Could possibly be caused by update method in seaBattleScene where it checks if the phases are not equal to nonsinking ship count. This was added to fix crash when player joins during turn.

David52920 commented 4 years ago

Very hard to replicate, I have personally have had it happen to me once out of several different games