Added missing auth response header

This commit is contained in:
juanjp600
2016-08-31 19:44:29 -03:00
parent a4a6046013
commit 795efd82ab

View File

@@ -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
NetOutgoingMessage nonceMsg = server.CreateMessage();
nonceMsg.Write((byte)ServerPacketHeader.AUTH_RESPONSE);
if (string.IsNullOrEmpty(password))
{
nonceMsg.Write(false); //false = no password