mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 05:45:37 +08:00
Make SceneManager.OnRegionsReadyStatusChange event available.
This is fired when all regions are ready or when at least one region becomes not ready. Recently added EventManager.OnRegionReady becomes OnRegionReadyStatusChange to match OnLoginsEnabledStatusChange
This commit is contained in:
@@ -646,7 +646,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
|
||||
|
||||
// If region ready has been triggered, then the region had no scripts to compile and completed its other
|
||||
// work.
|
||||
m_Scene.EventManager.OnRegionReady += s => m_InitialStartup = false;
|
||||
m_Scene.EventManager.OnRegionReadyStatusChange += s => { if (s.Ready) m_InitialStartup = false; };
|
||||
|
||||
if (m_SleepTime > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user