The serverconn variable identifies the reliable socket used by the server. However this variable is not yet initialized at the very start of the first client connection which causes the server to crash. This fixes a bad safety check for this issue and a further instance of the bug.
Related Issues
Screenshots (if applicable)
Checklist
[x] I have tested my changes locally and verified that they work as intended.
[x] I have documented any new or modified functionality.
[x] I have reviewed the changes to ensure they do not introduce any unnecessary complexity or duplicate code.
[x] I understand that by submitting this pull request, I am agreeing to license my contributions under the project's license.
Pull Request Type
Description
The serverconn variable identifies the reliable socket used by the server. However this variable is not yet initialized at the very start of the first client connection which causes the server to crash. This fixes a bad safety check for this issue and a further instance of the bug.
Related Issues
Screenshots (if applicable)
Checklist
Additional Comments