diff options
author | onefang | 2021-09-06 21:41:29 +1000 |
---|---|---|
committer | onefang | 2021-09-06 21:41:29 +1000 |
commit | 8b30faa7aef0c2eed0aad40e723450fe3b7e6540 (patch) | |
tree | e8b2ecb4018cb3f684a5ba76e2e6633e18c40790 | |
parent | Bitch if RLV is not enabled when trying to do RLV stuff. (diff) | |
download | 1ring-8b30faa7aef0c2eed0aad40e723450fe3b7e6540.zip 1ring-8b30faa7aef0c2eed0aad40e723450fe3b7e6540.tar.gz 1ring-8b30faa7aef0c2eed0aad40e723450fe3b7e6540.tar.bz2 1ring-8b30faa7aef0c2eed0aad40e723450fe3b7e6540.tar.xz |
Complain about lack of #RLV folder instead of crashing.
Diffstat (limited to '')
-rw-r--r-- | 1ring.lsl | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 | ||