diff options
author | David Walter Seikel | 2016-11-22 17:01:47 +1000 |
---|---|---|
committer | David Walter Seikel | 2016-11-22 17:01:47 +1000 |
commit | 273e1f0917d8ff125b3bf885f6eb80d32bf7b840 (patch) | |
tree | 64b4dc930b60021b98350039c129e4d2b4797a1e /OpenSim/Region/ScriptEngine/Shared/Api/Interface | |
parent | Actually tell us what the problem object is with sculpties in map generation. (diff) | |
download | opensim-SC_OLD-273e1f0917d8ff125b3bf885f6eb80d32bf7b840.zip opensim-SC_OLD-273e1f0917d8ff125b3bf885f6eb80d32bf7b840.tar.gz opensim-SC_OLD-273e1f0917d8ff125b3bf885f6eb80d32bf7b840.tar.bz2 opensim-SC_OLD-273e1f0917d8ff125b3bf885f6eb80d32bf7b840.tar.xz |
Don't throw exceptions on threat level checks and a few other script function errors.
Instead, just complain quickly and return without doing the function.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Interface')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs index 6259b76..82fdc53 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs | |||
@@ -114,7 +114,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces | |||
114 | 114 | ||
115 | public interface IOSSL_Api | 115 | public interface IOSSL_Api |
116 | { | 116 | { |
117 | void CheckThreatLevel(ThreatLevel level, string function); | 117 | bool CheckThreatLevel(ThreatLevel level, string function); |
118 | 118 | ||
119 | //OpenSim functions | 119 | //OpenSim functions |
120 | string osSetDynamicTextureURL(string dynamicID, string contentType, string url, string extraParams, int timer); | 120 | string osSetDynamicTextureURL(string dynamicID, string contentType, string url, string extraParams, int timer); |