mirror of
https://github.com/opensim/opensim.git
synced 2026-07-14 19:55:35 +08:00
Thanks to Alondria for:
llResetScript() is now functional. With this patch, Kan-script 0000003 should run. Noted the llListen(0,"","","") errored due to "" != UUID - patched to set to NULL_KEY which then works to listen to everything.
This commit is contained in:
@@ -292,6 +292,10 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
|
||||
|
||||
public int llListen(int channelID, string name, string ID, string msg)
|
||||
{
|
||||
if (ID == "")
|
||||
{
|
||||
ID = LLUUID.Zero.ToString();
|
||||
}
|
||||
IWorldComm wComm = m_ScriptEngine.World.RequestModuleInterface<IWorldComm>();
|
||||
return wComm.Listen(m_localID, m_itemID, m_host.UUID, channelID, name, ID, msg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user