Lua AI helper functions: modify a comment

This commit is contained in:
mattsc 2015-05-20 07:12:30 -07:00
parent ae8017d8d2
commit e94a6775ce

View file

@ -67,7 +67,7 @@ function battle_calcs.unit_attack_info(unit, cache)
end
end
-- 'number' key is apparently not included in attack table if its value is zero
-- [attack]number= defaults to zero; must be defined for battle_calcs.best_weapons()
a.number = a.number or 0
table.insert(unit_info.attacks, a)