aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs
diff options
context:
space:
mode:
authorMelanie2013-01-24 18:23:39 +0100
committerMelanie2013-01-24 18:23:39 +0100
commite785242c49dc5ff9fb64e26086d554a127415dde (patch)
tree2bcd9aee6ff24274ffa2ef51f3b5c7a5975a9dca /OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs
parentNull check the response body to make sure we're not crashing the script engine (diff)
downloadopensim-SC-e785242c49dc5ff9fb64e26086d554a127415dde.zip
opensim-SC-e785242c49dc5ff9fb64e26086d554a127415dde.tar.gz
opensim-SC-e785242c49dc5ff9fb64e26086d554a127415dde.tar.bz2
opensim-SC-e785242c49dc5ff9fb64e26086d554a127415dde.tar.xz
Reintroduce the return value of llGiveMoney. The grid will crash and burn without it.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs4
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 ef71d7b..8ecc4f8 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 void llGiveMoney(string destination, int amount) 879 public LSL_Integer llGiveMoney(string destination, int amount)
880 { 880 {
881 m_LSL_Functions.llGiveMoney(destination, amount); 881 return 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)