aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2021-09-06 21:41:29 +1000
committeronefang2021-09-06 21:41:29 +1000
commit8b30faa7aef0c2eed0aad40e723450fe3b7e6540 (patch)
treee8b2ecb4018cb3f684a5ba76e2e6633e18c40790
parentBitch if RLV is not enabled when trying to do RLV stuff. (diff)
download1ring-8b30faa7aef0c2eed0aad40e723450fe3b7e6540.zip
1ring-8b30faa7aef0c2eed0aad40e723450fe3b7e6540.tar.gz
1ring-8b30faa7aef0c2eed0aad40e723450fe3b7e6540.tar.bz2
1ring-8b30faa7aef0c2eed0aad40e723450fe3b7e6540.tar.xz
Complain about lack of #RLV folder instead of crashing.
-rw-r--r--1ring.lsl7
1 files changed, 6 insertions, 1 deletions
diff --git a/1ring.lsl b/1ring.lsl
index a50d28e..4665403 100644
--- a/1ring.lsl
+++ b/1ring.lsl
@@ -1472,10 +1472,15 @@ d("HEY leashy! " + URL);
1472 for (i = 0; i < l; ++i) 1472 for (i = 0; i < l; ++i)
1473 { 1473 {
1474 string folder = llList2String(folders, i); 1474 string folder = llList2String(folders, i);
1475 items += [folder, "+ " + folder, "- " + folder]; 1475
1476 if ("" != folder)
1477 items += [folder, "+ " + folder, "- " + folder];
1476 } 1478 }
1479 if (0 != llGetListLength(items))
1477 dynamicMenu(someBoss, "clothes", "PUTON", "Please select the outfit to put on", 1480 dynamicMenu(someBoss, "clothes", "PUTON", "Please select the outfit to put on",
1478 llDumpList2String(items, "|"), "PUTON", 2); 1481 llDumpList2String(items, "|"), "PUTON", 2);
1482 else
1483 s("You have no outfits in your #RLV folder.");
1479 } 1484 }
1480 } 1485 }
1481 1486