ByteNet
ByteNet copied to clipboard
fix: Per player channel doesn't exist when sending data
When trying to fire an event on PlayerAdded, the channel for the player isn't created yet and the code errors. This is due to the lack(?) of ordering for PlayerAdded.
The server process now creates the channel for the player if one doesn't exist yet when adding data to the outgoing queue. Fixes #22