Add YEngine support for ScriptDelayFactor
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>0.9.1.0-post-fixes
parent
50627304a6
commit
4e4d687f3f
|
@ -61,6 +61,10 @@ namespace OpenSim.Region.ScriptEngine.Yengine
|
||||||
|
|
||||||
protected override void ScriptSleep(int ms)
|
protected override void ScriptSleep(int ms)
|
||||||
{
|
{
|
||||||
|
ms = (int)((float)ms * m_ScriptDelayFactor);
|
||||||
|
if (ms == 0)
|
||||||
|
return;
|
||||||
|
|
||||||
inst.Sleep(ms);
|
inst.Sleep(ms);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue