fix: Fixes dropped packets (#1512)

This commit is contained in:
Kamron Batman 2023-09-23 12:15:42 -07:00 committed by GitHub
parent 7003552e71
commit 5d78941ddf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -802,7 +802,7 @@ public partial class NetState : IComparable<NetState>
{ {
if (!throttler(packetId, this, out bool drop)) if (!throttler(packetId, this, out bool drop))
{ {
return drop ? ParserState.Throttled : ParserState.AwaitingNextPacket; return drop ? ParserState.AwaitingNextPacket : ParserState.Throttled;
} }
SetPacketTime(packetId); SetPacketTime(packetId);