aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneManager.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneManager.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneManager.cs b/OpenSim/Region/Environment/Scenes/SceneManager.cs
index 3fe9479..7db6927 100644
--- a/OpenSim/Region/Environment/Scenes/SceneManager.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneManager.cs
@@ -150,6 +150,14 @@ namespace OpenSim.Region.Environment.Scenes
150 ForEachCurrentScene(delegate(Scene scene) { scene.HandleAlertCommand(cmdparams); }); 150 ForEachCurrentScene(delegate(Scene scene) { scene.HandleAlertCommand(cmdparams); });
151 } 151 }
152 152
153 public void SendGeneralMessage(string msg)
154 {
155 ForEachCurrentScene(delegate(Scene scene)
156 {
157 scene.SendGeneralAlert(msg);
158 });
159 }
160
153 public bool TrySetCurrentScene(string regionName) 161 public bool TrySetCurrentScene(string regionName)
154 { 162 {
155 if ((String.Compare(regionName, "root") == 0) || (String.Compare(regionName, "..") == 0)) 163 if ((String.Compare(regionName, "root") == 0) || (String.Compare(regionName, "..") == 0))