mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Switched order of conditionals.
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user