diff options
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index d3941d6..5ba377b 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -92,8 +92,10 @@ namespace OpenSim | |||
92 | //GCSettings.LatencyMode = GCLatencyMode.Batch; | 92 | //GCSettings.LatencyMode = GCLatencyMode.Batch; |
93 | //m_log.InfoFormat("[OPENSIM MAIN]: GC Latency Mode: {0}", GCSettings.LatencyMode.ToString()); | 93 | //m_log.InfoFormat("[OPENSIM MAIN]: GC Latency Mode: {0}", GCSettings.LatencyMode.ToString()); |
94 | 94 | ||
95 | m_console = new ConsoleBase("Region"); | 95 | if (m_gui) // Driven by external GUI |
96 | m_console.SetGuiMode(m_gui); | 96 | m_console = new CommandConsole("Region"); |
97 | else | ||
98 | m_console = new LocalConsole("Region"); | ||
97 | MainConsole.Instance = m_console; | 99 | MainConsole.Instance = m_console; |
98 | 100 | ||
99 | RegisterConsoleCommands(); | 101 | RegisterConsoleCommands(); |