Fix a typo
I had actually introduced this typo intentionally for testing purposes and then forgotten to remove it. :-P
This commit is contained in:
parent
c4cb6168e4
commit
98509aa2bf
1 changed files with 1 additions and 1 deletions
|
@ -761,7 +761,7 @@ function ai_helper.get_units_with_attacks(filter)
|
|||
|
||||
local units = {}
|
||||
for _, unit in ipairs(all_units) do
|
||||
if (unit.attacks_left > 0) and (H.get_schild(unit.__cfg, 'attack')) then
|
||||
if (unit.attacks_left > 0) and (H.get_child(unit.__cfg, 'attack')) then
|
||||
table.insert(units, unit)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue