From 9376468d19479bbec545d2aea5acc06434978c0b Mon Sep 17 00:00:00 2001 From: Aaron Yarborough Date: Wed, 19 Feb 2025 19:35:03 +0000 Subject: [PATCH] fix: update old function call --- .../Networking/Messages/Client/AuthResponseMessage.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GServer.Common/Networking/Messages/Client/AuthResponseMessage.cs b/GServer.Common/Networking/Messages/Client/AuthResponseMessage.cs index 3d4668d..60fb5b6 100644 --- a/GServer.Common/Networking/Messages/Client/AuthResponseMessage.cs +++ b/GServer.Common/Networking/Messages/Client/AuthResponseMessage.cs @@ -56,7 +56,7 @@ public class AuthResponseMessage : BaseMessage, IMessage if (IsSuccessful) { short sessionTokenByteLen = (short)Encoding.UTF8.GetByteCount(SessionToken!); - stream.WriteUInt16(sessionTokenByteLen); + stream.WriteInt16(sessionTokenByteLen); stream.WriteUtf8String(SessionToken!); } else