aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSimMainConsole.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Application/OpenSimMainConsole.cs')
-rw-r--r--OpenSim/Region/Application/OpenSimMainConsole.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSimMainConsole.cs b/OpenSim/Region/Application/OpenSimMainConsole.cs
index e4590f2..7b1b477 100644
--- a/OpenSim/Region/Application/OpenSimMainConsole.cs
+++ b/OpenSim/Region/Application/OpenSimMainConsole.cs
@@ -360,6 +360,19 @@ namespace OpenSim
360 } 360 }
361 break; 361 break;
362 362
363 case "load-oar":
364 m_log.Error("[CONSOLE]: Don't use me - I haven't yet been sufficiently implemented!");
365
366 if (cmdparams.Length > 0)
367 {
368 m_sceneManager.LoadArchiveToCurrentScene(cmdparams[0]);
369 }
370 else
371 {
372 m_sceneManager.LoadArchiveToCurrentScene(DEFAULT_OAR_BACKUP_FILENAME);
373 }
374 break;
375
363 case "save-oar": 376 case "save-oar":
364 m_log.Error("[CONSOLE]: Don't use me - I haven't yet been sufficiently implemented!"); 377 m_log.Error("[CONSOLE]: Don't use me - I haven't yet been sufficiently implemented!");
365 378