aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r--OpenSim/Region/Application/OpenSim.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs
index 898e298..0b8bd53 100644
--- a/OpenSim/Region/Application/OpenSim.cs
+++ b/OpenSim/Region/Application/OpenSim.cs
@@ -306,7 +306,10 @@ namespace OpenSim
306 PrintFileToConsole("startuplogo.txt"); 306 PrintFileToConsole("startuplogo.txt");
307 307
308 // For now, start at the 'root' level by default 308 // For now, start at the 'root' level by default
309 ChangeSelectedRegion("region", new string[] {"change", "region", "root"}); 309 if (m_sceneManager.Scenes.Count == 1) // If there is only one region, select it
310 ChangeSelectedRegion("region", new string[] {"change", "region", m_sceneManager.Scenes[0].RegionInfo.RegionName});
311 else
312 ChangeSelectedRegion("region", new string[] {"change", "region", "root"});
310 } 313 }
311 314
312 public override void ShutdownSpecific() 315 public override void ShutdownSpecific()