From f4adea60e0806b94f4e96db1041e0aa4fbb609e2 Mon Sep 17 00:00:00 2001 From: Mycroft Date: Fri, 5 Aug 2022 05:01:22 +0100 Subject: [PATCH] fix error --- [esx]/async/async.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[esx]/async/async.lua b/[esx]/async/async.lua index 72cf0130..aacd1a44 100644 --- a/[esx]/async/async.lua +++ b/[esx]/async/async.lua @@ -35,7 +35,7 @@ function Async.parallelLimit(tasks, limit, cb) local queue, results = {}, {} for i=1, #tasks, 1 do - queue[queue + 1] = tasks[i] + queue[#queue + 1] = tasks[i] end local function processQueue()