aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/Test sim/objects/onefang's test bed
diff options
context:
space:
mode:
Diffstat (limited to 'LuaSL/Test sim/objects/onefang's test bed')
-rw-r--r--LuaSL/Test sim/objects/onefang's test bed/~menucfg.lsl4
1 files changed, 3 insertions, 1 deletions
diff --git a/LuaSL/Test sim/objects/onefang's test bed/~menucfg.lsl b/LuaSL/Test sim/objects/onefang's test bed/~menucfg.lsl
index d38843d..a258fb8 100644
--- a/LuaSL/Test sim/objects/onefang's test bed/~menucfg.lsl
+++ b/LuaSL/Test sim/objects/onefang's test bed/~menucfg.lsl
@@ -254,10 +254,12 @@ state load {
254 254
255 integer ix; 255 integer ix;
256 integer count; 256 integer count;
257 while ((ix = myListFind(buttons, "-")) != -1) { 257 ix = myListFind(buttons, "-");
258 while (ix != -1) {
258 ++count; 259 ++count;
259 buttons = llDeleteSubList(buttons, ix, ix); 260 buttons = llDeleteSubList(buttons, ix, ix);
260 commands = llDeleteSubList(commands, ix, ix); 261 commands = llDeleteSubList(commands, ix, ix);
262 ix = myListFind(buttons, "-");
261 } 263 }
262 if (count) { 264 if (count) {
263 for (ix = 1; ix < llGetListLength(buttonindex); ++ix) { 265 for (ix = 1; ix < llGetListLength(buttonindex); ++ix) {