aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.World/World.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/OpenSim.World/World.cs')
-rw-r--r--OpenSim/OpenSim.World/World.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/OpenSim.World/World.cs b/OpenSim/OpenSim.World/World.cs
index e51c983..dc9602e 100644
--- a/OpenSim/OpenSim.World/World.cs
+++ b/OpenSim/OpenSim.World/World.cs
@@ -217,6 +217,16 @@ namespace OpenSim.world
217 Entities[UUID].BackUp(); 217 Entities[UUID].BackUp();
218 } 218 }
219 219
220 //Parcel backup routines
221 ParcelData[] parcels = new ParcelData[parcelManager.parcelList.Count];
222 int i = 0;
223 foreach (OpenSim.world.Parcel parcel in parcelManager.parcelList.Values)
224 {
225 parcels[i] = parcel.parcelData;
226 i++;
227 }
228 localStorage.SaveParcels(parcels);
229
220 // Backup successful 230 // Backup successful
221 return true; 231 return true;
222 } 232 }