Added wire-tag to all wires (to allow using it for fixes even if the name isn't ''Wire''), disconnect networkmember when going to main menu, fixed questmode crashing in multiplayer, fixed too short seeds throwing an error, attachable items aren't attached if secondary key isn't held, update hull when attaching an item, dropping connected wires when detaching items, kicking players with a button click instead of debugconsole
This commit is contained in:
@@ -404,7 +404,8 @@ namespace Barotrauma.Networking
|
||||
string msg = inc.ReadString();
|
||||
|
||||
new GUIMessageBox("You have been kicked out from the server", msg);
|
||||
|
||||
|
||||
Disconnect();
|
||||
GameMain.MainMenuScreen.Select();
|
||||
|
||||
break;
|
||||
@@ -433,7 +434,6 @@ namespace Barotrauma.Networking
|
||||
|
||||
private IEnumerable<object> StartGame(NetIncomingMessage inc)
|
||||
{
|
||||
|
||||
if (this.Character != null) Character.Remove();
|
||||
|
||||
int seed = inc.ReadInt32();
|
||||
|
||||
Reference in New Issue
Block a user