diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneManager.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneManager.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneManager.cs b/OpenSim/Region/Environment/Scenes/SceneManager.cs index c28269e..eba45fc 100644 --- a/OpenSim/Region/Environment/Scenes/SceneManager.cs +++ b/OpenSim/Region/Environment/Scenes/SceneManager.cs | |||
@@ -214,6 +214,12 @@ namespace OpenSim.Region.Environment.Scenes | |||
214 | } | 214 | } |
215 | } | 215 | } |
216 | 216 | ||
217 | public void RestartCurrentScene() | ||
218 | { | ||
219 | ForEachCurrentScene(delegate(Scene scene) { scene.Restart(15); }); | ||
220 | |||
221 | } | ||
222 | |||
217 | public void BackupCurrentScene() | 223 | public void BackupCurrentScene() |
218 | { | 224 | { |
219 | ForEachCurrentScene(delegate(Scene scene) { scene.Backup(); }); | 225 | ForEachCurrentScene(delegate(Scene scene) { scene.Backup(); }); |