Added missing auth response header
This commit is contained in:
@@ -57,6 +57,7 @@ namespace Barotrauma.Networking
|
|||||||
}
|
}
|
||||||
//if the client is already in the queue, getting another unauth request means that our response was lost; resend
|
//if the client is already in the queue, getting another unauth request means that our response was lost; resend
|
||||||
NetOutgoingMessage nonceMsg = server.CreateMessage();
|
NetOutgoingMessage nonceMsg = server.CreateMessage();
|
||||||
|
nonceMsg.Write((byte)ServerPacketHeader.AUTH_RESPONSE);
|
||||||
if (string.IsNullOrEmpty(password))
|
if (string.IsNullOrEmpty(password))
|
||||||
{
|
{
|
||||||
nonceMsg.Write(false); //false = no password
|
nonceMsg.Write(false); //false = no password
|
||||||
|
|||||||
Reference in New Issue
Block a user