Merge branch 'master' of ssh://melanie@3dhosting.de/var/git/careminster into careminster
commit
92a8d7ce6c
|
@ -8968,9 +8968,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
m_host.AddScriptLPS(1);
|
m_host.AddScriptLPS(1);
|
||||||
|
|
||||||
if (quick_pay_buttons.Data.Length < 4)
|
if (quick_pay_buttons.Data.Length < 4)
|
||||||
{
|
{
|
||||||
LSLError("List must have at least 4 elements");
|
int x;
|
||||||
return;
|
for (x=quick_pay_buttons.Data.Length; x<= 4; x++)
|
||||||
|
{
|
||||||
|
quick_pay_buttons.Add(ScriptBaseClass.PAY_HIDE);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
int[] nPrice = new int[5];
|
int[] nPrice = new int[5];
|
||||||
nPrice[0]=price;
|
nPrice[0]=price;
|
||||||
|
|
Loading…
Reference in New Issue