glitchybunny / woahzone

Prototype 3D hangout space built on three.js and socket.io
https://woahzone.glitch.gay/
MIT License
4 stars 2 forks source link

Added more descriptive disconnect messages. #14

Closed DaneRainbird closed 3 years ago

DaneRainbird commented 3 years ago

This fixes #10 by adding more specific error messages based on the type of disconnect encountered.

As per the Socket documentation for socket.disconnect(), the disconnect event provides a reason value, which I have incorporated and tested.

glitchybunny commented 3 years ago

Seems good! :)