Closed sylvainpolletvillard closed 5 days ago
The bug came from a race condition between UserMetadata.findOne db call to init player info vs client loading the prep room and sending the toggle ready command
Waiting for user to be added to state.users before sending the ready message fixes it
The bug came from a race condition between UserMetadata.findOne db call to init player info vs client loading the prep room and sending the toggle ready command
Waiting for user to be added to state.users before sending the ready message fixes it