GameStats: Empty read buffer after handling packet

This commit is contained in:
mkwcat
2024-05-09 22:15:22 -04:00
parent 3c5c165229
commit 42910065bc

View File

@@ -220,6 +220,7 @@ func HandlePacket(index uint64, data []byte) {
}
message := decrypted.String()
session.ReadBuffer = []byte{}
commands, err := common.ParseGameSpyMessage(message)
if err != nil {