mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
fix caching of wind and cloud packets in the case of several regions on a instance, that got broken with the necessary send to child agents.
This commit is contained in:
@@ -204,10 +204,9 @@ namespace OpenSim.Region.CoreModules.World
|
||||
|
||||
private void CloudUpdate()
|
||||
{
|
||||
if ((!m_ready || m_cloudDensity == 0 || (m_frame++ % m_frameUpdateRate) != 0))
|
||||
{
|
||||
if ((!m_ready || m_busy || m_cloudDensity == 0 ||
|
||||
(m_frame++ % m_frameUpdateRate) != 0))
|
||||
return;
|
||||
}
|
||||
|
||||
if(Monitor.TryEnter(cloudlock))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user