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:
mattsc 2014-04-10 10:39:12 -07:00
parent c4cb6168e4
commit 98509aa2bf

View file

@ -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