Core/Networking: Cnat do resize inside of reset. header buffer still needs to be read later.
This commit is contained in:
@@ -34,7 +34,6 @@ namespace Framework.IO
|
||||
|
||||
public void Reset()
|
||||
{
|
||||
Resize(0);
|
||||
_wpos = 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -175,6 +175,7 @@ namespace Game.Networking
|
||||
return;
|
||||
}
|
||||
|
||||
_packetBuffer.Resize(0);
|
||||
_packetBuffer.Reset();
|
||||
HandleSendAuthSession();
|
||||
AsyncRead();
|
||||
|
||||
Reference in New Issue
Block a user