Skip to content

Commit

Permalink
fix: Fixes seed issues. (#1914)
Browse files Browse the repository at this point in the history
  • Loading branch information
kamronbatman authored Aug 9, 2024
1 parent 9b7fea2 commit 0ce58de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Projects/Server/Network/NetState/NetState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public partial class NetState : IComparable<NetState>, IValueLinkListNode<NetSta
{
private static readonly ILogger logger = LogFactory.GetLogger(typeof(NetState));

private static readonly TimeSpan ConnectingSocketIdleLimit = TimeSpan.FromMilliseconds(2000); // 2 seconds
private static readonly TimeSpan ConnectingSocketIdleLimit = TimeSpan.FromMilliseconds(5000); // 5 seconds
private const int RecvPipeSize = 1024 * 64;
private const int SendPipeSize = 1024 * 256;
private const int GumpCap = 512;
Expand Down Expand Up @@ -634,6 +634,7 @@ public void HandleReceive(bool throttled = false)
}

Seed = newSeed;
Seeded = true;
packetLength = 4;

_parserState = ParserState.AwaitingNextPacket;
Expand Down

0 comments on commit 0ce58de

Please sign in to comment.