mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
oh forgot the forced sleep.. we can't have that can we..
This commit is contained in:
@@ -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 =>
|
||||
|
||||
Reference in New Issue
Block a user