diff options
author | Freaky Tech | 2015-03-03 00:31:54 +0100 |
---|---|---|
committer | BlueWall | 2015-03-03 15:35:23 -0500 |
commit | 25901a703a317186782e9c1050d669f18be64c99 (patch) | |
tree | 9d6046f1c0d136a7f8e320c1ddd4daea16ce44c1 /OpenSim/Region/ScriptEngine | |
parent | corrected handling when XML parsing in Presence Connector fails (diff) | |
download | opensim-SC-25901a703a317186782e9c1050d669f18be64c99.zip opensim-SC-25901a703a317186782e9c1050d669f18be64c99.tar.gz opensim-SC-25901a703a317186782e9c1050d669f18be64c99.tar.bz2 opensim-SC-25901a703a317186782e9c1050d669f18be64c99.tar.xz |
corrected llGetStartParameter according to http://wiki.secondlife.com/wiki/LlGetStartParameter
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | 2 |
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, |