aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/YEngine/XMRInstBackend.cs
diff options
context:
space:
mode:
authoronefang2021-07-06 13:52:19 +1000
committeronefang2021-07-06 13:52:19 +1000
commit671ea405b272090e476b73ffd793279dfca75bb2 (patch)
tree9cdd85953f6daf72609f906795c6be8f93ed62a1 /OpenSim/Region/ScriptEngine/YEngine/XMRInstBackend.cs
parentMove to dev version. (diff)
downloadopensim-SC-671ea405b272090e476b73ffd793279dfca75bb2.zip
opensim-SC-671ea405b272090e476b73ffd793279dfca75bb2.tar.gz
opensim-SC-671ea405b272090e476b73ffd793279dfca75bb2.tar.bz2
opensim-SC-671ea405b272090e476b73ffd793279dfca75bb2.tar.xz
Fix up the usual script messes.
Don't slow scripts down with bogus monitoring that isn't used anywhere. Don't make scripts sleep all the time. Don't bother with useless OhSilly Threat checks, and clean up the remains.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/YEngine/XMRInstBackend.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/YEngine/XMRInstBackend.cs9
1 files changed, 0 insertions, 9 deletions
diff --git a/OpenSim/Region/ScriptEngine/YEngine/XMRInstBackend.cs b/OpenSim/Region/ScriptEngine/YEngine/XMRInstBackend.cs
index 0e0ee4d..fcb7d1b 100644
--- a/OpenSim/Region/ScriptEngine/YEngine/XMRInstBackend.cs
+++ b/OpenSim/Region/ScriptEngine/YEngine/XMRInstBackend.cs
@@ -59,15 +59,6 @@ namespace OpenSim.Region.ScriptEngine.Yengine
59 inst = i; 59 inst = i;
60 } 60 }
61 61
62//// protected override void ScriptSleep(int ms)
63//// {
64//// ms = (int)(ms * m_ScriptDelayFactor);
65//// if (ms < 10)
66//// return;
67////
68//// inst.Sleep(ms);
69//// }
70
71 public override void llSleep(double sec) 62 public override void llSleep(double sec)
72 { 63 {
73 inst.Sleep((int)(sec * 1000.0)); 64 inst.Sleep((int)(sec * 1000.0));