fix: Fixes throttle state (#1510)
This commit is contained in:
parent
38557342f4
commit
7003552e71
1 changed files with 2 additions and 2 deletions
|
|
@ -708,11 +708,11 @@ public partial class NetState : IComparable<NetState>
|
|||
}
|
||||
}
|
||||
|
||||
if (_parserState is ParserState.AwaitingNextPacket or ParserState.Throttled)
|
||||
if (_parserState is ParserState.AwaitingNextPacket)
|
||||
{
|
||||
reader.Advance((uint)packetLength);
|
||||
}
|
||||
else if (_parserState is ParserState.AwaitingPartialPacket)
|
||||
else if (_parserState is ParserState.AwaitingPartialPacket or ParserState.Throttled)
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue