diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 9864394..7892b50 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -7279,9 +7279,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
7279 | { | 7279 | { |
7280 | m_host.AddScriptLPS(1); | 7280 | m_host.AddScriptLPS(1); |
7281 | 7281 | ||
7282 | if (quick_pay_buttons.Data.Length != 4) | 7282 | if (quick_pay_buttons.Data.Length < 4) |
7283 | { | 7283 | { |
7284 | LSLError("List must have 4 elements"); | 7284 | LSLError("List must have at least 4 elements"); |
7285 | return; | 7285 | return; |
7286 | } | 7286 | } |
7287 | m_host.ParentGroup.RootPart.PayPrice[0]=price; | 7287 | m_host.ParentGroup.RootPart.PayPrice[0]=price; |