Fix bug where chains didn't detach on standup. (#33)
This was introduced in commit 5c4f5b3
.
This commit is contained in:
parent
c2e2d63f70
commit
2e7202e8a1
1 changed files with 1 additions and 2 deletions
|
@ -80,8 +80,7 @@ goChain(list new_links)
|
||||||
// unlink unused links
|
// unlink unused links
|
||||||
for (; index < llGetListLength(links); index += 2)
|
for (; index < llGetListLength(links); index += 2)
|
||||||
{
|
{
|
||||||
integer found = llListFindList(new_links, [llList2String(links, index)]);
|
if (llListFindList(new_links, [llList2String(links, index)]) == -1)
|
||||||
if (~found)
|
|
||||||
{
|
{
|
||||||
llWhisper(LOCKGUARD_CHANNEL, "lockguard " + (string)avatar + " " + llList2String(links, index) + " unlink");
|
llWhisper(LOCKGUARD_CHANNEL, "lockguard " + (string)avatar + " " + llList2String(links, index) + " unlink");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue