diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 1f50e1b..b54c25b 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -40,8 +40,6 @@ using OpenSim.Framework.Communications.Cache; | |||
40 | using OpenSim.Framework.Console; | 40 | using OpenSim.Framework.Console; |
41 | using OpenSim.Framework.Interfaces; | 41 | using OpenSim.Framework.Interfaces; |
42 | using OpenSim.Framework.Servers; | 42 | using OpenSim.Framework.Servers; |
43 | using OpenSim.Framework.Types; | ||
44 | using OpenSim.Framework.Utilities; | ||
45 | using OpenSim.Region.Capabilities; | 43 | using OpenSim.Region.Capabilities; |
46 | using OpenSim.Region.Environment.Interfaces; | 44 | using OpenSim.Region.Environment.Interfaces; |
47 | using OpenSim.Region.Environment.LandManagement; | 45 | using OpenSim.Region.Environment.LandManagement; |
@@ -296,7 +294,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
296 | UpdateLand(); | 294 | UpdateLand(); |
297 | 295 | ||
298 | if (m_frame % m_update_avatars == 0) | 296 | if (m_frame % m_update_avatars == 0) |
299 | UpdateAvatars(); | 297 | UpdateInWorldTime(); |
300 | } | 298 | } |
301 | catch (NotImplementedException) | 299 | catch (NotImplementedException) |
302 | { | 300 | { |
@@ -329,7 +327,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
329 | } | 327 | } |
330 | } | 328 | } |
331 | 329 | ||
332 | private void UpdateAvatars() | 330 | private void UpdateInWorldTime() |
333 | { | 331 | { |
334 | m_timeUpdateCount++; | 332 | m_timeUpdateCount++; |
335 | if (m_timeUpdateCount > 600) | 333 | if (m_timeUpdateCount > 600) |