diff options
author | UbitUmarov | 2016-11-13 19:25:32 +0000 |
---|---|---|
committer | UbitUmarov | 2016-11-13 19:25:32 +0000 |
commit | 4ebb4e371f44e8e8e9612d8e5eaab274263a2f89 (patch) | |
tree | c75bff69455874986336abc26c9cbaf4a5339f6f /OpenSim/Region/ScriptEngine/Shared | |
parent | mantis 8055: fix default value of npc options (diff) | |
download | opensim-SC_OLD-4ebb4e371f44e8e8e9612d8e5eaab274263a2f89.zip opensim-SC_OLD-4ebb4e371f44e8e8e9612d8e5eaab274263a2f89.tar.gz opensim-SC_OLD-4ebb4e371f44e8e8e9612d8e5eaab274263a2f89.tar.bz2 opensim-SC_OLD-4ebb4e371f44e8e8e9612d8e5eaab274263a2f89.tar.xz |
prevent self call to llSetScriptState(ownname,FALSE) from blocking entire engine
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index bafee28..af04951 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -521,7 +521,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
521 | 521 | ||
522 | if ((item = GetScriptByName(name)) != UUID.Zero) | 522 | if ((item = GetScriptByName(name)) != UUID.Zero) |
523 | { | 523 | { |
524 | m_ScriptEngine.SetScriptState(item, run == 0 ? false : true); | 524 | m_ScriptEngine.SetScriptState(item, run == 0 ? false : true, item == m_item.ItemID); |
525 | } | 525 | } |
526 | else | 526 | else |
527 | { | 527 | { |