mirror of
https://github.com/opensim/opensim.git
synced 2026-07-02 00:15:45 +08:00
Add YEngine support for ScriptDelayFactor
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
This commit is contained in:
@@ -61,6 +61,10 @@ namespace OpenSim.Region.ScriptEngine.Yengine
|
||||
|
||||
protected override void ScriptSleep(int ms)
|
||||
{
|
||||
ms = (int)((float)ms * m_ScriptDelayFactor);
|
||||
if (ms == 0)
|
||||
return;
|
||||
|
||||
inst.Sleep(ms);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user