mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
When scripts are sleeping, don't count that as execution time
Sleeping doesn't use the CPU.
This commit is contained in:
@@ -105,7 +105,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests
|
||||
// This is disconnected from the actual script - the mock engine does not set up any LSL_Api atm.
|
||||
// Possibly this could be done and we could obtain it directly from the MockScriptEngine.
|
||||
m_lslApi = new LSL_Api();
|
||||
m_lslApi.Initialize(m_engine, so.RootPart, m_scriptItem, null);
|
||||
m_lslApi.Initialize(m_engine, so.RootPart, m_scriptItem, null, null);
|
||||
}
|
||||
|
||||
[TearDown]
|
||||
|
||||
Reference in New Issue
Block a user