- fixed crash in UpdateVoteStatus

- fixed clients reconnecting automatically after being kicked for desync
This commit is contained in:
juanjp600
2017-03-01 17:04:51 -03:00
parent 983ab9c05b
commit 7935ecce46
3 changed files with 4 additions and 2 deletions

View File

@@ -557,6 +557,7 @@ namespace Barotrauma.Networking
case "The server has been shut down":
case "You have been banned from the server":
case "You have been kicked from the server":
case "You have been disconnected because of excessive desync":
var msgBox = new GUIMessageBox("CONNECTION LOST", disconnectMsg);
msgBox.Buttons[0].OnClicked += ReturnToServerList;
break;