Skip to content

Commit

Permalink
Run pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
azrazalea committed Nov 30, 2023
1 parent b333661 commit b17acef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion warn-stranded.lua
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ local function getStrandedUnits()
end

-- Ignore units who are gathering plants or digging to avoid errors with stepladders and weird digging things
if unitIgnored(unit) or (unit.job.current_job and
if unitIgnored(unit) or (unit.job.current_job and
(unit.job.current_job.job_type == df.job_type.GatherPlants or
df.job_type.attrs[unit.job.current_job.job_type].type == 'Digging')) then
table.insert(ensure_key(ignoredGroup, walkGroup), unit)
Expand Down

0 comments on commit b17acef

Please sign in to comment.