aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/RegionServer.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/RegionServer.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/RegionServer.cs b/OpenSim/RegionServer.cs
index 3612d49..a0037b1 100644
--- a/OpenSim/RegionServer.cs
+++ b/OpenSim/RegionServer.cs
@@ -7,7 +7,7 @@ using OpenSim.Framework.Console;
7namespace OpenSim 7namespace OpenSim
8{ 8{
9 public class RegionServer : OpenSimMain 9 public class RegionServer : OpenSimMain
10 { 10 {
11 [STAThread] 11 [STAThread]
12 public static void Main(string[] args) 12 public static void Main(string[] args)
13 { 13 {
@@ -63,14 +63,14 @@ namespace OpenSim
63 OpenSim.Framework.Console.MainConsole.Instance.WriteLine("Starting in Grid mode"); 63 OpenSim.Framework.Console.MainConsole.Instance.WriteLine("Starting in Grid mode");
64 } 64 }
65 65
66 OpenSimRoot.Instance.StartUp();
67
66 if (sim.loginserver && sim.sandbox) 68 if (sim.loginserver && sim.sandbox)
67 { 69 {
68 LoginServer loginServer = new LoginServer(OpenSimRoot.Instance.GridServers.GridServer); 70 LoginServer loginServer = new LoginServer(OpenSimRoot.Instance.GridServers.GridServer, OpenSimRoot.Instance.Cfg.IPListenAddr, OpenSimRoot.Instance.Cfg.IPListenPort);
69 loginServer.Startup(); 71 loginServer.Startup();
70 } 72 }
71 73
72 OpenSimRoot.Instance.StartUp();
73
74 while (true) 74 while (true)
75 { 75 {
76 OpenSim.Framework.Console.MainConsole.Instance.MainConsolePrompt(); 76 OpenSim.Framework.Console.MainConsole.Instance.MainConsolePrompt();