mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
add comment
This commit is contained in:
parent
2f2ffb9f36
commit
7c7fa74572
@ -87,6 +87,8 @@ void SimulateSend(int connectionId, int channelId, ArraySegment<byte> segment, L
|
||||
if (!drop)
|
||||
{
|
||||
// simulate scramble (Random.Next is < max, so +1)
|
||||
// note that list entries are NOT ordered by time anymore
|
||||
// after inserting randomly.
|
||||
int last = unreliableQueue.Count;
|
||||
int index = unreliableScramble ? random.Next(0, last + 1) : last;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user