diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/OptionalModules/Agent/UDP/Linden/LindenUDPInfoModule.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/Agent/UDP/Linden/LindenUDPInfoModule.cs b/OpenSim/Region/OptionalModules/Agent/UDP/Linden/LindenUDPInfoModule.cs index cc6a1e8..f6772a5 100644 --- a/OpenSim/Region/OptionalModules/Agent/UDP/Linden/LindenUDPInfoModule.cs +++ b/OpenSim/Region/OptionalModules/Agent/UDP/Linden/LindenUDPInfoModule.cs | |||
@@ -603,7 +603,9 @@ namespace OpenSim.Region.OptionalModules.UDP.Linden | |||
603 | string.Format( | 603 | string.Format( |
604 | "{0} ({1:0.00}%)", | 604 | "{0} ({1:0.00}%)", |
605 | llClient.TotalAgentUpdates, | 605 | llClient.TotalAgentUpdates, |
606 | (float)cinfo.SyncRequests["AgentUpdate"] / llClient.TotalAgentUpdates * 100)); | 606 | cinfo.SyncRequests.ContainsKey("AgentUpdate") |
607 | ? (float)cinfo.SyncRequests["AgentUpdate"] / llClient.TotalAgentUpdates * 100 | ||
608 | : 0)); | ||
607 | } | 609 | } |
608 | }); | 610 | }); |
609 | } | 611 | } |