diff options
author | Diva Canto | 2010-07-07 02:40:51 -0700 |
---|---|---|
committer | Diva Canto | 2010-07-07 02:42:48 -0700 |
commit | f5d589896491e9e8e1d0938053f51fa5188a5493 (patch) | |
tree | 7285ca195a218c46a9a27f70775336134bd56c78 /OpenSim | |
parent | Fixes problem where "Adult" regions were reported as being of type "Unknown". (diff) | |
download | opensim-SC-f5d589896491e9e8e1d0938053f51fa5188a5493.zip opensim-SC-f5d589896491e9e8e1d0938053f51fa5188a5493.tar.gz opensim-SC-f5d589896491e9e8e1d0938053f51fa5188a5493.tar.bz2 opensim-SC-f5d589896491e9e8e1d0938053f51fa5188a5493.tar.xz |
Switched order of conditionals.
Diffstat (limited to 'OpenSim')
-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 | ||