When rejoining a game, the user rejoins with multiple instances of same user:
It will write " rejoined the game" several times at the same time in console, and everything you do after that is repeated X times (x being the amount of instances). Only solution is to close browser and open again, and rejoin.
This is an old bug, but I think I know why this happens: if you get impatient and clicketiclicketiclick a load of times on rejoin, that will mess up your rejoin, and join multiple sessions.
Proposed solution: a singleton check before joining, checking in a global var or static singleton instance if a user has already joined before joining another session
When rejoining a game, the user rejoins with multiple instances of same user: It will write " rejoined the game" several times at the same time in console, and everything you do after that is repeated X times (x being the amount of instances). Only solution is to close browser and open again, and rejoin.
This is an old bug, but I think I know why this happens: if you get impatient and clicketiclicketiclick a load of times on rejoin, that will mess up your rejoin, and join multiple sessions.
Proposed solution: a singleton check before joining, checking in a global var or static singleton instance if a user has already joined before joining another session