Possible to use the same sub as the main submarine and the respawn shuttle, fixed duplicate client names in netlobby if reconnecting before the server has disconnected the client, fixed "end round" button not appearing when joining mid-round

This commit is contained in:
Regalis
2016-08-14 20:13:40 +03:00
parent 3f804acd42
commit 7e14ca6186
3 changed files with 10 additions and 22 deletions
@@ -65,7 +65,7 @@ namespace Barotrauma.Networking
{
this.networkMember = networkMember;
respawnShuttle = shuttle;
respawnShuttle = new Submarine(shuttle.FilePath, shuttle.MD5Hash.Hash, true);
respawnShuttle.Load(false);
ResetShuttle();