diff options
Diffstat (limited to 'global-functions')
-rw-r--r-- | global-functions | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/global-functions b/global-functions index 0e4c514..42d0b43 100644 --- a/global-functions +++ b/global-functions @@ -958,16 +958,13 @@ :global ScriptLockOrder; - :local Clean true; :foreach Ticket in=($ScriptLockOrder->$Script) do={ :if ([ :typeof $Ticket ] != "nothing") do={ - :set Clean false; + :return false; } } - :if ($Clean = true) do={ - :set ($ScriptLockOrder->$Script) [ :toarray "" ]; - } + :set ($ScriptLockOrder->$Script) [ :toarray "" ]; } :if ([ :len [ / system script find where name=$Script ] ] = 0) do={ |