Instead of sending 20 records in 2 packets, send just one as we intended in the first place.

avinationmerge
Melanie 2012-07-08 07:42:40 +02:00
parent d3b778ebbe
commit 73c5a6e666
1 changed files with 1 additions and 1 deletions

View File

@ -999,7 +999,7 @@ return;
MapBlockData block = new MapBlockData(); MapBlockData block = new MapBlockData();
MapBlockFromGridRegion(block, r, flag); MapBlockFromGridRegion(block, r, flag);
mapBlocks.Add(block); mapBlocks.Add(block);
if (mapBlocks.Count >= 20) if (mapBlocks.Count >= 10)
{ {
remoteClient.SendMapBlock(mapBlocks, flag & 0xffff); remoteClient.SendMapBlock(mapBlocks, flag & 0xffff);
mapBlocks.Clear(); mapBlocks.Clear();