even less kills on tps

avinationmerge
UbitUmarov 2014-08-26 00:00:21 +01:00
parent 6857afe2a4
commit 3ee6144d0c
1 changed files with 2 additions and 1 deletions

View File

@ -5966,7 +5966,7 @@ namespace OpenSim.Region.Framework.Scenes
public void HasMovedAway() public void HasMovedAway()
{ {
List<ScenePresence> allpresences = m_scene.GetScenePresences(); List<ScenePresence> allpresences = m_scene.GetScenePresences();
foreach (ScenePresence p in allpresences) /* foreach (ScenePresence p in allpresences)
{ {
if (p == this) if (p == this)
continue; continue;
@ -5974,6 +5974,7 @@ namespace OpenSim.Region.Framework.Scenes
if (!p.IsChildAgent) if (!p.IsChildAgent)
p.SendKillTo(this); p.SendKillTo(this);
} }
*/
if (Scene.AttachmentsModule != null) if (Scene.AttachmentsModule != null)
Scene.AttachmentsModule.DeleteAttachmentsFromScene(this, true); Scene.AttachmentsModule.DeleteAttachmentsFromScene(this, true);
} }