Fast Micro AI: fix typo from commit 6efc5ae090

This commit is contained in:
mattsc 2017-10-03 20:55:34 -07:00
parent c2ca21141b
commit d53243daa9

View file

@ -106,7 +106,7 @@ function ca_fast_move:execution(cfg)
if leader then
table.sort(enemy_leaders, function(a, b)
local dist_a = M.distance_between(leader.x, leader.y, a.x, a.y)
local dist_b = m.distance_between(leader.x, leader.y, b.x, b.y)
local dist_b = M.distance_between(leader.x, leader.y, b.x, b.y)
return (dist_a < dist_b)
end)
end