diff options
Diffstat (limited to 'OpenSim/Client')
-rw-r--r-- | OpenSim/Client/Linden/LLStandaloneLoginModule.cs | 4 | ||||
-rw-r--r-- | OpenSim/Client/MXP/MXPModule.cs | 7 |
2 files changed, 9 insertions, 2 deletions
diff --git a/OpenSim/Client/Linden/LLStandaloneLoginModule.cs b/OpenSim/Client/Linden/LLStandaloneLoginModule.cs index bb9b623..8739ce5 100644 --- a/OpenSim/Client/Linden/LLStandaloneLoginModule.cs +++ b/OpenSim/Client/Linden/LLStandaloneLoginModule.cs | |||
@@ -231,6 +231,10 @@ namespace OpenSim.Client.Linden | |||
231 | { | 231 | { |
232 | return scene.RegionInfo; | 232 | return scene.RegionInfo; |
233 | } | 233 | } |
234 | else if (m_scenes.Count > 0) | ||
235 | { | ||
236 | return m_scenes[0].RegionInfo; | ||
237 | } | ||
234 | return null; | 238 | return null; |
235 | } | 239 | } |
236 | 240 | ||
diff --git a/OpenSim/Client/MXP/MXPModule.cs b/OpenSim/Client/MXP/MXPModule.cs index a6b0396..0b442cc 100644 --- a/OpenSim/Client/MXP/MXPModule.cs +++ b/OpenSim/Client/MXP/MXPModule.cs | |||
@@ -110,8 +110,11 @@ namespace OpenSim.Client.MXP | |||
110 | public void Close() | 110 | public void Close() |
111 | { | 111 | { |
112 | m_shutdown = true; | 112 | m_shutdown = true; |
113 | lock (m_ticker) | 113 | if (m_ticker != null) |
114 | m_ticker.Stop(); | 114 | { |
115 | lock (m_ticker) | ||
116 | m_ticker.Stop(); | ||
117 | } | ||
115 | } | 118 | } |
116 | 119 | ||
117 | public string Name | 120 | public string Name |