diff options
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index 5d21368..cf2bf33 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -1068,7 +1068,7 @@ namespace OpenSim | |||
1068 | /// <param name="cmdparams"></param> | 1068 | /// <param name="cmdparams"></param> |
1069 | protected void SavePrimsXml2(string module, string[] cmdparams) | 1069 | protected void SavePrimsXml2(string module, string[] cmdparams) |
1070 | { | 1070 | { |
1071 | if (cmdparams.Length > 5) | 1071 | if (cmdparams.Length > 4) |
1072 | { | 1072 | { |
1073 | SceneManager.SaveNamedPrimsToXml2(cmdparams[3], cmdparams[4]); | 1073 | SceneManager.SaveNamedPrimsToXml2(cmdparams[3], cmdparams[4]); |
1074 | } | 1074 | } |
@@ -1087,7 +1087,7 @@ namespace OpenSim | |||
1087 | { | 1087 | { |
1088 | MainConsole.Instance.Output("PLEASE NOTE, save-xml is DEPRECATED and may be REMOVED soon. If you are using this and there is some reason you can't use save-xml2, please file a mantis detailing the reason."); | 1088 | MainConsole.Instance.Output("PLEASE NOTE, save-xml is DEPRECATED and may be REMOVED soon. If you are using this and there is some reason you can't use save-xml2, please file a mantis detailing the reason."); |
1089 | 1089 | ||
1090 | if (cmdparams.Length > 0) | 1090 | if (cmdparams.Length > 2) |
1091 | { | 1091 | { |
1092 | SceneManager.SaveCurrentSceneToXml(cmdparams[2]); | 1092 | SceneManager.SaveCurrentSceneToXml(cmdparams[2]); |
1093 | } | 1093 | } |