Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Online Users Not Accurate #48

Closed
kyle8998 opened this issue Mar 2, 2018 · 2 comments
Closed

Online Users Not Accurate #48

kyle8998 opened this issue Mar 2, 2018 · 2 comments
Assignees
Labels

Comments

@kyle8998
Copy link
Owner

kyle8998 commented Mar 2, 2018

When users disconnect/join the online users often gets glitched and does not display the correct users.

@kyle8998 kyle8998 added the bug label Mar 2, 2018
@kyle8998 kyle8998 added this to the 1.0 Public Release milestone Mar 2, 2018
@kyle8998 kyle8998 self-assigned this Mar 2, 2018
@kyle8998
Copy link
Owner Author

kyle8998 commented Mar 4, 2018

I believe this is caused by the double socket connect. When a socket disconnects, it removes two entries

@kyle8998
Copy link
Owner Author

kyle8998 commented Mar 4, 2018

Resolved. Socket will only remove from the users array if it's exact name is in the array.

@kyle8998 kyle8998 closed this as completed Mar 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant