fix: Fixes disconnects due to bad seeding (#1663)
This commit is contained in:
parent
4cd668ef61
commit
497ea87943
1 changed files with 1 additions and 2 deletions
|
|
@ -348,8 +348,6 @@ public static class IncomingAccountPackets
|
|||
|
||||
public static void GameLogin(NetState state, SpanReader reader)
|
||||
{
|
||||
// TODO: Connection throttling
|
||||
|
||||
if (state.SentFirstPacket)
|
||||
{
|
||||
state.Disconnect("Duplicate game login packet received.");
|
||||
|
|
@ -375,6 +373,7 @@ public static class IncomingAccountPackets
|
|||
|
||||
_authIDWindow.Remove(authId);
|
||||
state.Version = ap.Version;
|
||||
state.Seeded = true;
|
||||
|
||||
var username = reader.ReadAscii(30);
|
||||
var password = reader.ReadAscii(30);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue