diff options
author | Melanie | 2012-10-03 00:24:33 +0100 |
---|---|---|
committer | Melanie | 2012-10-03 00:24:33 +0100 |
commit | 23d5bafa7f5e7b23ea36300de8096c7dc84e51b0 (patch) | |
tree | 044eb97d800f1ce82bfb0367488eb8752b3e6aa6 /OpenSim/Region/ScriptEngine/XEngine | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff) | |
download | opensim-SC-23d5bafa7f5e7b23ea36300de8096c7dc84e51b0.zip opensim-SC-23d5bafa7f5e7b23ea36300de8096c7dc84e51b0.tar.gz opensim-SC-23d5bafa7f5e7b23ea36300de8096c7dc84e51b0.tar.bz2 opensim-SC-23d5bafa7f5e7b23ea36300de8096c7dc84e51b0.tar.xz |
Merge branch 'master' into careminster
Conflicts:
OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/EventManager.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/EventManager.cs b/OpenSim/Region/ScriptEngine/XEngine/EventManager.cs index cee10df..9405075 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/EventManager.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/EventManager.cs | |||
@@ -96,9 +96,12 @@ 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; |
102 | money(part.LocalId, agentID, amount); | 105 | money(part.LocalId, agentID, amount); |
103 | } | 106 | } |
104 | 107 | ||