-
Notifications
You must be signed in to change notification settings - Fork 1
Fix out of sync issue #74
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
So, issue with states out of sync, is probably us (front-end) not detecting when it's gone offline. And then we should reconnect on coming back again. You can test that by:
- It's your turn to play
- Go offline on your browser
- Go back online
- You can now "play" multiple times, that's what happening on the server and what other players/spectators would see.
That's why I could not reproduce locally, because apparently offline mode does not work for WS
https://stackoverflow.com/questions/38729050/chrome-disabling-web-sockets-or-closing-a-web-socket-connection
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working