aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/XEngine/EventManager.cs
diff options
context:
space:
mode:
authorMelanie2012-10-02 01:25:55 +0100
committerMelanie2012-10-02 01:25:55 +0100
commit54ec8b197b9119d0443bed0797563a88bdf49f6f (patch)
tree0ed3c22401db813d4bb58f252fde459b410d27c5 /OpenSim/Region/ScriptEngine/XEngine/EventManager.cs
parentSend money() events to the clicked prim. Reverting a change I made over a yea... (diff)
downloadopensim-SC_OLD-54ec8b197b9119d0443bed0797563a88bdf49f6f.zip
opensim-SC_OLD-54ec8b197b9119d0443bed0797563a88bdf49f6f.tar.gz
opensim-SC_OLD-54ec8b197b9119d0443bed0797563a88bdf49f6f.tar.bz2
opensim-SC_OLD-54ec8b197b9119d0443bed0797563a88bdf49f6f.tar.xz
Add money event routing to the script engine.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine/EventManager.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/XEngine/EventManager.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/EventManager.cs b/OpenSim/Region/ScriptEngine/XEngine/EventManager.cs
index 74baaf9..9405075 100644
--- a/OpenSim/Region/ScriptEngine/XEngine/EventManager.cs
+++ b/OpenSim/Region/ScriptEngine/XEngine/EventManager.cs
@@ -96,6 +96,9 @@ namespace OpenSim.Region.ScriptEngine.XEngine
96 if (part == null) 96 if (part == null)
97 return; 97 return;
98 98
99 if ((part.ScriptEvents & scriptEvents.money) == 0)
100 part = part.ParentGroup.RootPart;
101
99 m_log.Debug("Paid: " + objectID + " from " + agentID + ", amount " + amount); 102 m_log.Debug("Paid: " + objectID + " from " + agentID + ", amount " + amount);
100 103
101// part = part.ParentGroup.RootPart; 104// part = part.ParentGroup.RootPart;