From b7a0855c3afea27f207655fca25651b19b41636a Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Wed, 14 May 2008 06:09:39 +0000 Subject: More formatting cleanup. Minor refactoring. --- OpenSim/Region/Application/OpenSimMain.cs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'OpenSim/Region/Application/OpenSimMain.cs') 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 /// The first out parameter describing the number of regions public void GetRegionNumber(out int regionnum) { - int accounter = 0; - //List regionNameList = new List(); - - m_sceneManager.ForEachScene(delegate(Scene scene) { - accounter++; - }); - regionnum = accounter; + regionnum = m_sceneManager.Scenes.Count; } } } -- cgit v1.1