We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c799c3f + d910921 commit 3f31da2Copy full SHA for 3f31da2
multihaul.lua
@@ -8,6 +8,8 @@ local itemtools = reqscript('item')
8
9
local GLOBAL_KEY = 'multihaul'
10
11
+local finish_jobs_without_wheelbarrow -- forward declaration
12
+
13
local function get_default_state()
14
return {
15
enabled=false,
@@ -192,7 +194,7 @@ local function clear_job_items(job)
192
194
job.items:resize(0)
193
195
end
196
-local function finish_jobs_without_wheelbarrow()
197
+function finish_jobs_without_wheelbarrow()
198
for _, job in utils.listpairs(df.global.world.jobs.list) do
199
if job.job_type == df.job_type.StoreItemInStockpile and
200
not find_attached_wheelbarrow(job) then
0 commit comments