Skip to content

Commit 04e34be

Browse files
only count as ignored if they are ignored
1 parent 3f639ec commit 04e34be

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

autotraining.lua

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,11 @@ function getTrainingCandidates()
109109
goto next_unit
110110
end
111111
if not dfhack.units.isAdult(unit) then
112-
ignore_count = ignore_count +1
113112
goto next_unit
114113
end
115114
local need = getTrainingNeed(unit)
116115
if ( need ~= nil ) then
117116
if ( need.focus_level >= state.threshold ) then
118-
ignore_count = ignore_count +1
119117
goto next_unit
120118
end
121119
end

0 commit comments

Comments
 (0)