Change the (hackish) constant to match the changed enum for attachs

This commit is contained in:
Melanie Thielker
2010-08-07 05:42:30 +02:00
parent 7477d7a036
commit fa11ac8c85

View File

@@ -293,8 +293,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
}
// Fire after attach, so we don't get messy perms dialogs
// 3 == AttachedRez
objatt.CreateScriptInstances(0, true, m_scene.DefaultScriptEngine, 3);
// 4 == AttachedRez
objatt.CreateScriptInstances(0, true, m_scene.DefaultScriptEngine, 4);
objatt.ResumeScripts();
// Do this last so that event listeners have access to all the effects of the attachment