aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--global-functions5
1 files changed, 2 insertions, 3 deletions
diff --git a/global-functions b/global-functions
index 6af914f..7b5227a 100644
--- a/global-functions
+++ b/global-functions
@@ -923,12 +923,11 @@
:global ScriptLockOrder;
- :local Ok false;
- :while ($Ok = false) do={
+ :while (true) do={
:set ($ScriptLockOrder->$Script) (($ScriptLockOrder->$Script), $Add);
:delay 10ms;
:foreach Ticket in=($ScriptLockOrder->$Script) do={
- :if ($Ticket = $Add) do={ :set Ok true; }
+ :if ($Ticket = $Add) do={ :return true; }
}
}
}