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.
1 parent a842c42 commit f9a2bbfCopy full SHA for f9a2bbf
plugins/lua/dwarfvet.lua
@@ -59,8 +59,8 @@ local function get_new_patients(cur_patients)
59
local new_patients = {}
60
for _,unit in ipairs(df.global.world.units.active) do
61
if unit.job.current_job then goto continue end
62
- if cur_patients[unit.id] or not is_valid_animal(unit) then goto continue end
63
if not unit.health or not unit.health.flags.needs_healthcare then goto continue end
+ if cur_patients[unit.id] or not is_valid_animal(unit) then goto continue end
64
new_patients[unit.id] = unit
65
::continue::
66
end
0 commit comments