diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 5febce6..fef02f0 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -1898,9 +1898,13 @@ namespace OpenSim.Region.Environment.Scenes | |||
1898 | // We don't want to try to send messages if there are no avatar. | 1898 | // We don't want to try to send messages if there are no avatar. |
1899 | if (!(m_scenePresences.Equals(null))) | 1899 | if (!(m_scenePresences.Equals(null))) |
1900 | { | 1900 | { |
1901 | foreach (ScenePresence presence in m_scenePresences.Values) | 1901 | try { |
1902 | { | 1902 | foreach (ScenePresence presence in m_scenePresences.Values) |
1903 | action(presence); | 1903 | { |
1904 | action(presence); | ||
1905 | } | ||
1906 | } catch (Exception e) { | ||
1907 | MainLog.Instance.Verbose("BUG", e.ToString()); | ||
1904 | } | 1908 | } |
1905 | } | 1909 | } |
1906 | } | 1910 | } |