Also ignore NPCs in short-circuiting region restarts
parent
c0ce746e2d
commit
a6ecedb72a
|
@ -374,7 +374,7 @@ namespace OpenSim.Region.CoreModules.World.Region
|
|||
{
|
||||
foreach (ScenePresence sp in s.GetScenePresences())
|
||||
{
|
||||
if (!sp.IsChildAgent)
|
||||
if (!sp.IsChildAgent && !sp.IsNPC)
|
||||
agents++;
|
||||
}
|
||||
}
|
||||
|
@ -383,7 +383,7 @@ namespace OpenSim.Region.CoreModules.World.Region
|
|||
{
|
||||
foreach (ScenePresence sp in m_Scene.GetScenePresences())
|
||||
{
|
||||
if (!sp.IsChildAgent)
|
||||
if (!sp.IsChildAgent && !sp.IsNPC)
|
||||
agents++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue