UnAckedBytes are in KB

0.9.1.0-post-fixes
UbitUmarov 2019-03-19 07:22:24 +00:00
parent b10a3ba023
commit 132d8be9cc
1 changed files with 1 additions and 0 deletions

View File

@ -5414,6 +5414,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
public void SendSimStats(SimStats stats) public void SendSimStats(SimStats stats)
{ {
stats.StatsBlock[15].StatValue /= 1024; // UnAckedBytes are in KB
SimStatsPacket pack = new SimStatsPacket(); SimStatsPacket pack = new SimStatsPacket();
pack.Region = new SimStatsPacket.RegionBlock(); pack.Region = new SimStatsPacket.RegionBlock();
pack.Region.RegionX = stats.RegionX; pack.Region.RegionX = stats.RegionX;