Change XEngine to call StateChange rather than RemoveScript on state changes

0.8.0.3
Melanie 2014-04-30 20:56:49 +01:00
parent f0eeb47262
commit 7c121a2acc
1 changed files with 1 additions and 1 deletions

View File

@ -827,7 +827,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
Part.AbsolutePosition,
Part.ParentGroup.Scene.Name);
AsyncCommandManager.RemoveScript(Engine,
AsyncCommandManager.StateChange(Engine,
LocalID, ItemID);
Part.SetScriptEvents(ItemID, (int)m_Script.GetStateEventFlags(State));