oh forgot the forced sleep.. we can't have that can we..

This commit is contained in:
UbitUmarov
2020-08-17 13:23:01 +01:00
parent 33bb55581d
commit 262d9d30c0

View File

@@ -15171,14 +15171,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
{
// => complain loudly, as specified by the LSL docs
Error("llGetNotecardLine", "Can't find notecard '" + name + "'");
return ScriptBaseClass.NULL_KEY;
}
if (NotecardCache.IsCached(assetID))
{
return m_AsyncCommands.DataserverPlugin.RequestWithImediatePost(m_host.LocalId, m_item.ItemID,
string eid = m_AsyncCommands.DataserverPlugin.RequestWithImediatePost(m_host.LocalId, m_item.ItemID,
NotecardCache.GetLine(assetID, line, m_notecardLineReadCharsMax));
ScriptSleep(m_sleepMsOnGetNotecardLine);
return eid;
}
Action<string> act = eventID =>