diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Application/OpenSimMain.cs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index c7094c7..639e3c2 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs | |||
@@ -745,13 +745,7 @@ namespace OpenSim | |||
745 | /// <param name="regionnum">The first out parameter describing the number of regions</param> | 745 | /// <param name="regionnum">The first out parameter describing the number of regions</param> |
746 | public void GetRegionNumber(out int regionnum) | 746 | public void GetRegionNumber(out int regionnum) |
747 | { | 747 | { |
748 | int accounter = 0; | 748 | regionnum = m_sceneManager.Scenes.Count; |
749 | //List<string> regionNameList = new List<string>(); | ||
750 | |||
751 | m_sceneManager.ForEachScene(delegate(Scene scene) { | ||
752 | accounter++; | ||
753 | }); | ||
754 | regionnum = accounter; | ||
755 | } | 749 | } |
756 | } | 750 | } |
757 | } | 751 | } |