Core/Networking: Cnat do resize inside of reset. header buffer still needs to be read later.

This commit is contained in:
hondacrx
2021-01-26 15:59:07 -05:00
parent ea2c1851f7
commit 6c71c55fe1
2 changed files with 1 additions and 1 deletions
-1
View File
@@ -34,7 +34,6 @@ namespace Framework.IO
public void Reset()
{
Resize(0);
_wpos = 0;
}
}
+1
View File
@@ -175,6 +175,7 @@ namespace Game.Networking
return;
}
_packetBuffer.Resize(0);
_packetBuffer.Reset();
HandleSendAuthSession();
AsyncRead();