aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorMelanie2014-04-30 20:56:49 +0100
committerMelanie2014-04-30 20:56:49 +0100
commit7c121a2acc45d29bfc6f839083231ee0b2f96886 (patch)
tree008d8b353ed587ba79abf94eda4249aa62f1b054 /OpenSim/Region
parentAdd the "StateChange" function to the async comand manager to differentiate (diff)
downloadopensim-SC_OLD-7c121a2acc45d29bfc6f839083231ee0b2f96886.zip
opensim-SC_OLD-7c121a2acc45d29bfc6f839083231ee0b2f96886.tar.gz
opensim-SC_OLD-7c121a2acc45d29bfc6f839083231ee0b2f96886.tar.bz2
opensim-SC_OLD-7c121a2acc45d29bfc6f839083231ee0b2f96886.tar.xz
Change XEngine to call StateChange rather than RemoveScript on state changes
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs2
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));