diff options
author | Diva Canto | 2011-04-30 16:53:11 -0700 |
---|---|---|
committer | Diva Canto | 2011-04-30 16:53:11 -0700 |
commit | 00e94b0ba8e22b1bfdcbebc7c3d5c879d22b52a4 (patch) | |
tree | 025f47a20ada2f3b5254b2684aced1af1910be72 /OpenSim/Region/Framework/Scenes/ScenePresence.cs | |
parent | When coming in from a legacy region without fatpacks, start scripts the (diff) | |
download | opensim-SC_OLD-00e94b0ba8e22b1bfdcbebc7c3d5c879d22b52a4.zip opensim-SC_OLD-00e94b0ba8e22b1bfdcbebc7c3d5c879d22b52a4.tar.gz opensim-SC_OLD-00e94b0ba8e22b1bfdcbebc7c3d5c879d22b52a4.tar.bz2 opensim-SC_OLD-00e94b0ba8e22b1bfdcbebc7c3d5c879d22b52a4.tar.xz |
Check for RegionID instead of RegionHandle. Other minor tweaks
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 1aac09d..5b86735 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -937,7 +937,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
937 | // and it has already rezzed the attachments and started their scripts. | 937 | // and it has already rezzed the attachments and started their scripts. |
938 | // We do the following only for non-login agents, because their scripts | 938 | // We do the following only for non-login agents, because their scripts |
939 | // haven't started yet. | 939 | // haven't started yet. |
940 | if (wasChild) | 940 | if (wasChild && Attachments != null && Attachments.Count > 0) |
941 | { | 941 | { |
942 | m_log.DebugFormat("[SCENE PRESENCE]: Restarting scripts in attachments..."); | 942 | m_log.DebugFormat("[SCENE PRESENCE]: Restarting scripts in attachments..."); |
943 | // Resume scripts | 943 | // Resume scripts |