From 7c121a2acc45d29bfc6f839083231ee0b2f96886 Mon Sep 17 00:00:00 2001 From: Melanie Date: Wed, 30 Apr 2014 20:56:49 +0100 Subject: Change XEngine to call StateChange rather than RemoveScript on state changes --- OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region') 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 Part.AbsolutePosition, Part.ParentGroup.Scene.Name); - AsyncCommandManager.RemoveScript(Engine, + AsyncCommandManager.StateChange(Engine, LocalID, ItemID); Part.SetScriptEvents(ItemID, (int)m_Script.GetStateEventFlags(State)); -- cgit v1.1