From d53243daa967dffe458792867b4b40d89140fc84 Mon Sep 17 00:00:00 2001 From: mattsc Date: Tue, 3 Oct 2017 20:55:34 -0700 Subject: [PATCH] Fast Micro AI: fix typo from commit 6efc5ae090 --- data/ai/micro_ais/cas/ca_fast_move.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/ai/micro_ais/cas/ca_fast_move.lua b/data/ai/micro_ais/cas/ca_fast_move.lua index db338502b33..f4166f53a57 100644 --- a/data/ai/micro_ais/cas/ca_fast_move.lua +++ b/data/ai/micro_ais/cas/ca_fast_move.lua @@ -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