aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SimStatsReporter.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SimStatsReporter.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs b/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs
index 90e09b0..d4868f3 100644
--- a/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs
+++ b/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs
@@ -39,6 +39,8 @@ namespace OpenSim.Region.Environment.Scenes
39 39
40 public event SendStatResult OnSendStatsResult; 40 public event SendStatResult OnSendStatsResult;
41 41
42 private SendStatResult handler001 = null;
43
42 private enum Stats : uint 44 private enum Stats : uint
43 { 45 {
44 TimeDilation = 0, 46 TimeDilation = 0,
@@ -245,9 +247,10 @@ namespace OpenSim.Region.Environment.Scenes
245 247
246 statpack.Stat = sb; 248 statpack.Stat = sb;
247 249
248 if (OnSendStatsResult != null) 250 handler001 = OnSendStatsResult;
251 if (handler001 != null)
249 { 252 {
250 OnSendStatsResult(statpack); 253 handler001(statpack);
251 } 254 }
252 resetvalues(); 255 resetvalues();
253 m_report.Enabled = true; 256 m_report.Enabled = true;