fix: Fixes tick count calculcations (#1366)
This commit is contained in:
parent
0645251ec7
commit
dda55889f6
9 changed files with 23 additions and 35 deletions
|
|
@ -141,7 +141,7 @@ namespace Server.Network
|
|||
return true;
|
||||
}
|
||||
|
||||
if (Core.TickCount < ns.GetPacketTime(packetID) + Delays[packetID])
|
||||
if (Core.TickCount - ns.GetPacketTime(packetID) + Delays[packetID] > 0)
|
||||
{
|
||||
drop = true;
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue