keldaanCommunity / pokemonAutoChess

Pokemon Auto Chess Game. Made by fans for fans. Open source, non profit. All rights to the Pokemon Company.
https://pokemon-auto-chess.com/
GNU General Public License v3.0
1.17k stars 362 forks source link

toggleReady: make arg never undefined #2455

Closed sylvainpolletvillard closed 5 days ago

sylvainpolletvillard commented 1 week ago

Ready button now sends the intended boolean instead of letting the server switch the flag. Should fix issues when spamming the button or having a client/server desync