diff options
Change XEngine to call StateChange rather than RemoveScript on state changes
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs index 978e567..c5d0752 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | |||
@@ -827,7 +827,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance | |||
827 | Part.AbsolutePosition, | 827 | Part.AbsolutePosition, |
828 | Part.ParentGroup.Scene.Name); | 828 | Part.ParentGroup.Scene.Name); |
829 | 829 | ||
830 | AsyncCommandManager.RemoveScript(Engine, | 830 | AsyncCommandManager.StateChange(Engine, |
831 | LocalID, ItemID); | 831 | LocalID, ItemID); |
832 | 832 | ||
833 | Part.SetScriptEvents(ItemID, (int)m_Script.GetStateEventFlags(State)); | 833 | Part.SetScriptEvents(ItemID, (int)m_Script.GetStateEventFlags(State)); |