diff options
Diffstat (limited to 'OpenSim/Region/DataSnapshot/SnapshotStore.cs')
-rw-r--r-- | OpenSim/Region/DataSnapshot/SnapshotStore.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/DataSnapshot/SnapshotStore.cs b/OpenSim/Region/DataSnapshot/SnapshotStore.cs index f356b43..70cb205 100644 --- a/OpenSim/Region/DataSnapshot/SnapshotStore.cs +++ b/OpenSim/Region/DataSnapshot/SnapshotStore.cs | |||
@@ -258,15 +258,15 @@ namespace OpenSim.Region.DataSnapshot | |||
258 | 258 | ||
259 | private String GetRegionCategory(Scene scene) | 259 | private String GetRegionCategory(Scene scene) |
260 | { | 260 | { |
261 | if (scene.RegionInfo.RegionSettings.Maturity == 0) | ||
262 | return "PG"; | ||
263 | |||
261 | if (scene.RegionInfo.RegionSettings.Maturity == 1) | 264 | if (scene.RegionInfo.RegionSettings.Maturity == 1) |
262 | return "Mature"; | 265 | return "Mature"; |
263 | 266 | ||
264 | if (scene.RegionInfo.RegionSettings.Maturity == 2) | 267 | if (scene.RegionInfo.RegionSettings.Maturity == 2) |
265 | return "Adult"; | 268 | return "Adult"; |
266 | 269 | ||
267 | if (scene.RegionInfo.RegionSettings.Maturity == 0) | ||
268 | return "PG"; | ||
269 | |||
270 | return "Unknown"; | 270 | return "Unknown"; |
271 | } | 271 | } |
272 | 272 | ||