Fix missing pairs call
This commit is contained in:
parent
488561fab5
commit
24124667a1
|
@ -14,7 +14,7 @@ local function fetch(wait_for)
|
||||||
if resources ~= nil then
|
if resources ~= nil then
|
||||||
local unavailable_count = 0
|
local unavailable_count = 0
|
||||||
local deliver_count = 0
|
local deliver_count = 0
|
||||||
for j, res in resources do
|
for j, res in pairs(resources) do
|
||||||
if not res.available then
|
if not res.available then
|
||||||
unavailable_count = unavailable_count + 1
|
unavailable_count = unavailable_count + 1
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue