DescentDevelopers / Descent3

Descent 3 by Outrage Entertainment
GNU General Public License v3.0
2.73k stars 231 forks source link

Fix server crash during client connection #431

Closed notimaginative closed 3 weeks ago

notimaginative commented 3 weeks ago

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