Switched order of conditionals.
parent
68f0ab9504
commit
f5d5898964
|
@ -258,15 +258,15 @@ namespace OpenSim.Region.DataSnapshot
|
||||||
|
|
||||||
private String GetRegionCategory(Scene scene)
|
private String GetRegionCategory(Scene scene)
|
||||||
{
|
{
|
||||||
|
if (scene.RegionInfo.RegionSettings.Maturity == 0)
|
||||||
|
return "PG";
|
||||||
|
|
||||||
if (scene.RegionInfo.RegionSettings.Maturity == 1)
|
if (scene.RegionInfo.RegionSettings.Maturity == 1)
|
||||||
return "Mature";
|
return "Mature";
|
||||||
|
|
||||||
if (scene.RegionInfo.RegionSettings.Maturity == 2)
|
if (scene.RegionInfo.RegionSettings.Maturity == 2)
|
||||||
return "Adult";
|
return "Adult";
|
||||||
|
|
||||||
if (scene.RegionInfo.RegionSettings.Maturity == 0)
|
|
||||||
return "PG";
|
|
||||||
|
|
||||||
return "Unknown";
|
return "Unknown";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue