Fixed crash when game can't connect to server.

(facepalm)