Add money event routing to the script engine.

connector_plugin
Melanie 2012-10-02 01:25:55 +01:00
parent 14b659e550
commit 54ec8b197b
1 changed files with 3 additions and 0 deletions

View File

@ -96,6 +96,9 @@ namespace OpenSim.Region.ScriptEngine.XEngine
if (part == null) if (part == null)
return; return;
if ((part.ScriptEvents & scriptEvents.money) == 0)
part = part.ParentGroup.RootPart;
m_log.Debug("Paid: " + objectID + " from " + agentID + ", amount " + amount); m_log.Debug("Paid: " + objectID + " from " + agentID + ", amount " + amount);
// part = part.ParentGroup.RootPart; // part = part.ParentGroup.RootPart;