aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
index c06db05..081ba03 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
@@ -943,6 +943,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
943 AsyncCommandManager.RemoveScript(Engine, LocalID, ItemID); 943 AsyncCommandManager.RemoveScript(Engine, LocalID, ItemID);
944 EventQueue.Clear(); 944 EventQueue.Clear();
945 m_Script.ResetVars(); 945 m_Script.ResetVars();
946 StartParam = 0;
946 State = "default"; 947 State = "default";
947 948
948 Part.SetScriptEvents(ItemID, 949 Part.SetScriptEvents(ItemID,
@@ -971,6 +972,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
971 EventQueue.Clear(); 972 EventQueue.Clear();
972 m_Script.ResetVars(); 973 m_Script.ResetVars();
973 string oldState = State; 974 string oldState = State;
975 StartParam = 0;
974 State = "default"; 976 State = "default";
975 977
976 Part.SetScriptEvents(ItemID, 978 Part.SetScriptEvents(ItemID,