From 8a10a36515c46d5e740b5e0767b533979f85c94d Mon Sep 17 00:00:00 2001 From: Sei Lisa Date: Sun, 8 Oct 2017 17:04:33 +0200 Subject: [PATCH] Fix [AV]faces issue with the timer not being stopped. The problem has been observed in some items using [AV]faces. So far the only way I've found to reproduce it was resetting one of the [AV]sit scripts while [AV]faces was reproducing a sequence. Other triggers may be possible. --- AVsitter2/Plugins/AVfaces/[AV]faces.lsl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/AVsitter2/Plugins/AVfaces/[AV]faces.lsl b/AVsitter2/Plugins/AVfaces/[AV]faces.lsl index 3008982..f6b0eee 100644 --- a/AVsitter2/Plugins/AVfaces/[AV]faces.lsl +++ b/AVsitter2/Plugins/AVfaces/[AV]faces.lsl @@ -241,6 +241,9 @@ default on_rez(integer start) { is_running = TRUE; + // cancel all sequences as there can't be anyone sitting + while (running_uuid != []) + remove_sequences(llList2Key(running_uuid, 0)); } link_message(integer sender, integer num, string msg, key id)