Switched order of conditionals.

0.7-release
Diva Canto 2010-07-07 02:40:51 -07:00
parent 68f0ab9504
commit f5d5898964
1 changed files with 3 additions and 3 deletions

View File

@ -258,15 +258,15 @@ namespace OpenSim.Region.DataSnapshot
private String GetRegionCategory(Scene scene)
{
if (scene.RegionInfo.RegionSettings.Maturity == 0)
return "PG";
if (scene.RegionInfo.RegionSettings.Maturity == 1)
return "Mature";
if (scene.RegionInfo.RegionSettings.Maturity == 2)
return "Adult";
if (scene.RegionInfo.RegionSettings.Maturity == 0)
return "PG";
return "Unknown";
}