diff options
author | Jeff Ames | 2008-05-14 05:11:23 +0000 |
---|---|---|
committer | Jeff Ames | 2008-05-14 05:11:23 +0000 |
commit | c995d60d37032db3198b8496e186aa7a892dc7a8 (patch) | |
tree | 826147e66f61c812897d9b0acdb16ebfeb30d4d3 /OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs | |
parent | * Added 3 warnings in response to the warnings. Adam, read the warnings. (diff) | |
download | opensim-SC-c995d60d37032db3198b8496e186aa7a892dc7a8.zip opensim-SC-c995d60d37032db3198b8496e186aa7a892dc7a8.tar.gz opensim-SC-c995d60d37032db3198b8496e186aa7a892dc7a8.tar.bz2 opensim-SC-c995d60d37032db3198b8496e186aa7a892dc7a8.tar.xz |
Formatting cleanup.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs index 214f7c9..f2afe0f 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs | |||
@@ -76,7 +76,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
76 | 76 | ||
77 | // TODO: HOOK ALL EVENTS UP TO SERVER! | 77 | // TODO: HOOK ALL EVENTS UP TO SERVER! |
78 | IMoneyModule money=myScriptEngine.World.RequestModuleInterface<IMoneyModule>(); | 78 | IMoneyModule money=myScriptEngine.World.RequestModuleInterface<IMoneyModule>(); |
79 | if(money != null) | 79 | if (money != null) |
80 | { | 80 | { |
81 | money.OnObjectPaid+=HandleObjectPaid; | 81 | money.OnObjectPaid+=HandleObjectPaid; |
82 | } | 82 | } |
@@ -91,7 +91,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
91 | private void HandleObjectPaid(LLUUID objectID, LLUUID agentID, int amount) | 91 | private void HandleObjectPaid(LLUUID objectID, LLUUID agentID, int amount) |
92 | { | 92 | { |
93 | SceneObjectPart part=myScriptEngine.World.GetSceneObjectPart(objectID); | 93 | SceneObjectPart part=myScriptEngine.World.GetSceneObjectPart(objectID); |
94 | if(part != null) | 94 | if (part != null) |
95 | { | 95 | { |
96 | money(part.LocalId, agentID, amount); | 96 | money(part.LocalId, agentID, amount); |
97 | } | 97 | } |