diff options
author | Melanie | 2014-04-30 20:56:49 +0100 |
---|---|---|
committer | Melanie | 2014-04-30 20:56:49 +0100 |
commit | 7c121a2acc45d29bfc6f839083231ee0b2f96886 (patch) | |
tree | 008d8b353ed587ba79abf94eda4249aa62f1b054 /OpenSim/Region/ScriptEngine/Shared/Instance | |
parent | Add the "StateChange" function to the async comand manager to differentiate (diff) | |
download | opensim-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/ScriptEngine/Shared/Instance')
-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)); |