v0.3.4.2: fixed section bodies not being restored after repairing a wall/window, fixed servers letting all clients in despite a wrong password, game version or content package
This commit is contained in:
@@ -631,7 +631,7 @@ namespace Barotrauma.Networking
|
||||
return;
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
#if !DEBUG
|
||||
if (!string.IsNullOrWhiteSpace(password) && string.IsNullOrWhiteSpace(userPassword))
|
||||
{
|
||||
inc.SenderConnection.Deny("Password required!");
|
||||
|
||||
Reference in New Issue
Block a user