Small fixes in ModLoader.lua

This commit is contained in:
Jacobin
2022-04-24 15:18:14 +10:00
parent ac920a8da9
commit 7a4a8fc856
@@ -65,7 +65,10 @@ local function ExecutionQueue()
while queue[1] ~= nil do while queue[1] ~= nil do
RunFolder( RunFolder(
table.unpack( table.unpack(
table.remove(queue) table.remove(
queue,
1
)
) )
) )
end end
@@ -83,7 +86,7 @@ local function ExecutionQueue()
return queueExecutionFIFO, processQueueFIFO return queueExecutionFIFO, processQueueFIFO
end end
local queueAutorun, processAutorun = ExecutionQueue() local queueAutorun, processAutorun = ExecutionQueue()
local queueForcedAutorun, processForcedAutorun = ExecutionQueue() local queueForcedAutorun, processForcedAutorun = ExecutionQueue()
local function processPackages(packages, fn) local function processPackages(packages, fn)