diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestExecution.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestExecution.cs b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestExecution.cs index 350f138..f8c8b73 100644 --- a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestExecution.cs +++ b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestExecution.cs | |||
@@ -82,7 +82,7 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver | |||
82 | archive.AddFile(ArchiveConstants.CONTROL_FILE_PATH, CreateControlFile()); | 82 | archive.AddFile(ArchiveConstants.CONTROL_FILE_PATH, CreateControlFile()); |
83 | 83 | ||
84 | // Write out terrain | 84 | // Write out terrain |
85 | string terrainPath = String.Format("{0}{1}.png", ArchiveConstants.TERRAINS_PATH, m_sceneName); | 85 | string terrainPath = String.Format("{0}{1}.r32", ArchiveConstants.TERRAINS_PATH, m_sceneName); |
86 | MemoryStream ms = new MemoryStream(); | 86 | MemoryStream ms = new MemoryStream(); |
87 | m_terrainModule.SaveToStream(terrainPath, ms); | 87 | m_terrainModule.SaveToStream(terrainPath, ms); |
88 | archive.AddFile(terrainPath, ms.ToArray()); | 88 | archive.AddFile(terrainPath, ms.ToArray()); |