beep-beep-beep-boop / clicktogether

a clicktogether server will click a specified keyboard key once all clients have clicked theirs.
0 stars 0 forks source link

automatically reconnect to server #2

Closed beep-beep-beep-boop closed 1 year ago

beep-beep-beep-boop commented 1 year ago

uh, it does automatically reconnect when a user submits a click, but it doesn't then submit the click to the server. the user has to submit another click to get it to. so we don't have to make the send_click function recursive, we could have the ui call a different function that calls send_click and handles the reconnection by reconnecting and calling send_click again?