aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/XEngine
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/XEngine/XEngine.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
index 25b27b9..06ed9d6 100644
--- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
+++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
@@ -1503,6 +1503,13 @@ namespace OpenSim.Region.ScriptEngine.XEngine
1503 } 1503 }
1504 } 1504 }
1505 1505
1506 public void SetRunEnable(UUID instanceID, bool enable)
1507 {
1508 IScriptInstance instance = GetInstance(instanceID);
1509 if (instance != null)
1510 instance.Run = enable;
1511 }
1512
1506 public bool GetScriptState(UUID itemID) 1513 public bool GetScriptState(UUID itemID)
1507 { 1514 {
1508 IScriptInstance instance = GetInstance(itemID); 1515 IScriptInstance instance = GetInstance(itemID);