diff options
author | Melanie | 2013-01-23 18:58:29 +0100 |
---|---|---|
committer | Melanie | 2013-01-23 18:58:29 +0100 |
commit | 47f18caa22fe6bfc6020c80d61c92e4ab8efa86f (patch) | |
tree | 81104280e9c126ba28cb6edde697fc90bfdba184 /OpenSim/Region/ScriptEngine/Shared/Api/Runtime | |
parent | EXPERIMENTAL - Comment out the check for the agent already being in transit (diff) | |
download | opensim-SC-47f18caa22fe6bfc6020c80d61c92e4ab8efa86f.zip opensim-SC-47f18caa22fe6bfc6020c80d61c92e4ab8efa86f.tar.gz opensim-SC-47f18caa22fe6bfc6020c80d61c92e4ab8efa86f.tar.bz2 opensim-SC-47f18caa22fe6bfc6020c80d61c92e4ab8efa86f.tar.xz |
Remove the return value from llGiveMoney (it was a LSL extension of OpenSim) and
make the function async so the script thread is not held up waiting for comms
to an external server.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs index 8ecc4f8..ef71d7b 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs | |||
@@ -876,9 +876,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
876 | m_LSL_Functions.llGiveInventoryList(destination, category, inventory); | 876 | m_LSL_Functions.llGiveInventoryList(destination, category, inventory); |
877 | } | 877 | } |
878 | 878 | ||
879 | public LSL_Integer llGiveMoney(string destination, int amount) | 879 | public void llGiveMoney(string destination, int amount) |
880 | { | 880 | { |
881 | return m_LSL_Functions.llGiveMoney(destination, amount); | 881 | m_LSL_Functions.llGiveMoney(destination, amount); |
882 | } | 882 | } |
883 | 883 | ||
884 | public LSL_String llTransferLindenDollars(string destination, int amount) | 884 | public LSL_String llTransferLindenDollars(string destination, int amount) |