aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/World/Sun/SunModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World/Sun/SunModule.cs')
-rw-r--r--OpenSim/Region/Environment/Modules/World/Sun/SunModule.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Sun/SunModule.cs b/OpenSim/Region/Environment/Modules/World/Sun/SunModule.cs
index 318afa1..3f82190 100644
--- a/OpenSim/Region/Environment/Modules/World/Sun/SunModule.cs
+++ b/OpenSim/Region/Environment/Modules/World/Sun/SunModule.cs
@@ -223,7 +223,6 @@ namespace OpenSim.Region.Environment.Modules
223 // Insert our event handling hooks 223 // Insert our event handling hooks
224 224
225 scene.EventManager.OnFrame += SunUpdate; 225 scene.EventManager.OnFrame += SunUpdate;
226 //scene.EventManager.OnNewClient += SunToClient;
227 scene.EventManager.OnMakeChildAgent += MakeChildAgent; 226 scene.EventManager.OnMakeChildAgent += MakeChildAgent;
228 scene.EventManager.OnAvatarEnteringNewParcel += AvatarEnteringParcel; 227 scene.EventManager.OnAvatarEnteringNewParcel += AvatarEnteringParcel;
229 scene.EventManager.OnClientClosed += ClientLoggedOut; 228 scene.EventManager.OnClientClosed += ClientLoggedOut;
@@ -248,9 +247,9 @@ namespace OpenSim.Region.Environment.Modules
248 public void Close() 247 public void Close()
249 { 248 {
250 ready = false; 249 ready = false;
251 // Remove our hooks 250
251 // Remove our hooks
252 m_scene.EventManager.OnFrame -= SunUpdate; 252 m_scene.EventManager.OnFrame -= SunUpdate;
253 // m_scene.EventManager.OnNewClient -= SunToClient;
254 m_scene.EventManager.OnMakeChildAgent -= MakeChildAgent; 253 m_scene.EventManager.OnMakeChildAgent -= MakeChildAgent;
255 m_scene.EventManager.OnAvatarEnteringNewParcel -= AvatarEnteringParcel; 254 m_scene.EventManager.OnAvatarEnteringNewParcel -= AvatarEnteringParcel;
256 m_scene.EventManager.OnClientClosed -= ClientLoggedOut; 255 m_scene.EventManager.OnClientClosed -= ClientLoggedOut;