aboutsummaryrefslogtreecommitdiff
path: root/utils/delayUtils.js
diff options
context:
space:
mode:
Diffstat (limited to 'utils/delayUtils.js')
-rw-r--r--utils/delayUtils.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/delayUtils.js b/utils/delayUtils.js
index 6604203..3ec6d95 100644
--- a/utils/delayUtils.js
+++ b/utils/delayUtils.js
@@ -8,8 +8,8 @@ if (!global.delayThingSoopy) {
function delay(time, callback) {
let id = functionId++
- functionQueue.push(id, Date.now() + time)
functions.set(id, callback)
+ functionQueue.push(id, Date.now() + time)
}
register("tick", () => {